fixthebug2003
Programmer
Hi,
Is there a way to check if a user has changed data in any of the form elements (like INPUT type="text" and ListBoxes or checkboxes) without having a onchange event on each of these form elements...?
Like a user could have changed data in a text box, or selected a check box or picked a different option in the listbox.....all I want is a generic way of trapping any of these changes and mark the page dirty...so I can prompt the user before he leaves the page whether he wants to Save his changes before he leaves?
Thanks
Fixthebug2003
Is there a way to check if a user has changed data in any of the form elements (like INPUT type="text" and ListBoxes or checkboxes) without having a onchange event on each of these form elements...?
Like a user could have changed data in a text box, or selected a check box or picked a different option in the listbox.....all I want is a generic way of trapping any of these changes and mark the page dirty...so I can prompt the user before he leaves the page whether he wants to Save his changes before he leaves?
Thanks
Fixthebug2003