Hi,
I have a requirement where i have to show a javascript alert when you move from tone .net page to another .net page but condition is that at least one control's value on that page should have changed.
Actually, there are more than one page in tabs format. You are on a tab1. You edit the page and make some changes and now you click on tab2 but before moving to tab2 you want to show a validation message. Validation message should appear only when there is any change on the page.
I have heard about checksum but don't know how to use it and this will work on not.
Any help would be appreciated.
Thanks in advance
Loading
Pooja SharmaPosted Sep 1, 2010, 2:09 PM
I have little bit knowledge of JQuery
This JQuery code showing message not only when leaving blank input controls but even when no control is left blank. 'isDirty' flag is always true. I think, this is just handling textbox (input) but a page can have other controls like dropdown, listbox etc. Not sure this code will work with other controls.
Can you please provide me more help on this?
Manikavelu VelayuthamPosted Aug 31, 2010, 3:48 AM
mark this post as answered, if this post really helps you.
hariom indorePosted Aug 31, 2010, 2:42 AM
when u do any change on page one then make a hidden varible value and check it whne u click another tab