Tuesday 15 June 2010

javascript - Reverting Form Data with Cancel button -


Is there a great way to include the cancellation (or again) button next to a form that is essentially

For example,

  1. is a user's account and wants to change its username.
  2. In the form they come, see that the input field has the username population: joeuser
  3. they start editing the area and change their mind
  4. possible with the support of too much hacking ? I thought HTML5 History API can be used in some way for this.

    You can use jQuery: $ ("#FormId") [0]. Reset ();

No comments:

Post a Comment