I am trying to implement dirty flag message on form. If user modifies any input values in the form and leaves the screen I have to alert user that the form has been modified and save the modifications.
If am using JQuery plugin but it is not able to track changes on mask input elements. Is there a way I can implement this on these elements I know I can use changeFunction on these elements, is there any other way coz is now I have to decouple the plugin code to split the functions?
Below is the link to the plug in and I am using javascript tools 2.2.1 version.
I don't know if there is a way to do this with the plugin...
Really, the only way to add a callback is through changeFunction...
Remember that the masks were created several years ago, when the only way people used for event handlers was setting the onchange function...
Let me know if you find another way for that....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to implement dirty flag message on form. If user modifies any input values in the form and leaves the screen I have to alert user that the form has been modified and save the modifications.
If am using JQuery plugin but it is not able to track changes on mask input elements. Is there a way I can implement this on these elements I know I can use changeFunction on these elements, is there any other way coz is now I have to decouple the plugin code to split the functions?
Below is the link to the plug in and I am using javascript tools 2.2.1 version.
http://code.zhandwa.com/2008/07/31/jquery-track-changes-in-your-forms/
Thanks
I don't know if there is a way to do this with the plugin...
Really, the only way to add a callback is through changeFunction...
Remember that the masks were created several years ago, when the only way people used for event handlers was setting the onchange function...
Let me know if you find another way for that....