Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
I am using the are you sure jquery plugin in my application, where in the main page I found that 'Correct state management - if a user edits then restores a value, the form is not considered dirty.' But in my asp.net application I am not able to fix it. Even an example is shown like this

To ignore selected fields from the dirtyness check:

<form id="myForm" name="myform" action="/post" method="post">
    Field 1: (checked)  <input type="text" name="field1"> <br />
    Field 2: (ignored): <input type="text" name="field2" data-ays-ignore="true"> <br />
    Field 3: (ignored): <input type="text" name="field3" class="ays-ignore"> <br />
    <input type="submit" value="Submit">
</form>
Which refers to HTML controls I suppose. Can any one help me with this?

I am using ASP.net control and I am unable to achieve state management using the plugin.

Any help would be greatly appreciated.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900