Removing error message from dialog

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deepaknegi
    New Member
    • Aug 2013
    • 1

    Removing error message from dialog

    Guys.
    I have a jquery dialog box for forgot password which is opened on click of a link.
    As i submit the form the message is printed saying "your password has successfully been changed" and the dialog is closed.
    it is set by using
    ---------------------------------------
    document.getEle mentById("<div id>").innerHTM L =xmlhttp.respon seText;
    ---------------------------------------
    Now if i click that link againg,dialog appears but with the above info message(your password has successfully been changed).
    Do anyone know how to clear this message and open again the dialog form for reset password
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    you simply need to reset that div's innerHTML to its previous or an empty value in the close-action of the dialog.

    Comment

    • Exequiel
      Contributor
      • Jul 2012
      • 288

      #3
      After you submit the form you need to reset the message printed on your div, , document.getEle mentById("<div id>").innerHTM L ="";

      Comment

      Working...