J
JonBosker
I have a form developed in ASP.net and as such all of my controls are
server controls and do not have access to onchange events.
What I need is a javascript program to detect changes.
Here is my idea... when the page loads the program cycles through all
of the objects in the form and saves their values into a variable.
Then, when the user attempts to navigate away the program cycles
through all of the objects in the form and saves the values into
another variable. It checks the first variable agains the second and
if different asks the user if they want to discard their changes.
I do not have the javascript skills to do this but maybe someone else
does? Or someone can tell me this is impossible? By the way I am
willing to pay up to $100 US for a reasonable solution.
Jon Bosker
www.dbgurus.com.au
server controls and do not have access to onchange events.
What I need is a javascript program to detect changes.
Here is my idea... when the page loads the program cycles through all
of the objects in the form and saves their values into a variable.
Then, when the user attempts to navigate away the program cycles
through all of the objects in the form and saves the values into
another variable. It checks the first variable agains the second and
if different asks the user if they want to discard their changes.
I do not have the javascript skills to do this but maybe someone else
does? Or someone can tell me this is impossible? By the way I am
willing to pay up to $100 US for a reasonable solution.
Jon Bosker
www.dbgurus.com.au