problem with div, innerHTML attribute

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raghu038
    New Member
    • Apr 2010
    • 1

    problem with div, innerHTML attribute

    I want to add text in div element (by using innerHTML property) when something goes wrong on submission of form. The div tag is present in a form tag.

    But i am facing problem in getting the required text on my web page after submission of the form.

    Actually it displaying but soon wipes out. I am using IE 8.
  • Cainnech
    New Member
    • Nov 2007
    • 132

    #2
    Hi raghu038,

    Are you reloading your page when you submit the form? Because that would explain why you see the content very briefly and then it disappears.

    Cainnech

    Comment

    Working...