Hi Sridhar

you could do something like

         var vFlag;

         $('input').bind('change', function() { vFlag = 'X';});


Then you can check with window.onbeforeunload mentioned earlier if
things have changed and react accordingly.

Regards
Gerald

On Dec 2, 4:46 pm, "Web Specialist" <[EMAIL PROTECTED]> wrote:
> Try this....
>
> http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo3.htm
>
> Cheers
> Marco Antonio
>
> On 12/2/08, Sridhar <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hi,
>
> >     we are trying to give a feedback to the user if the user has
> > changed some values in the form and tries to close the form with out
> > saving the changes. is there a plug-in that can check this? or do I
> > have to loop-through each control and check if the value has changed
> > by comparing the value with the stored value in a hidden variable? If
> > there is a standard way to do this, please let me know. we are using
> > asp.net to create the forms
>
> > Thanks,
> > sridhar.- Hide quoted text -
>
> - Show quoted text -

Reply via email to