Validating a changed Value Of the Text Field.
1 posts in topic
Flat View  Flat View

Posted By:   Somak_Das
Posted On:   Wednesday, October 8, 2003 12:07 AM

I have a page which has a couple of frames. In my main page I have a couple of text fields which the user can edit and then click "Save" button and save the changes incurred. Now if the user clicks on any other button or links I have to show a message to "Save The Changes First".
The issue is there are a dozens of button and links which are commonly used at various places. So i can't call a js function on click of all these buttons and links.
Is there an event from where I can call my JS function to verify this.
Pls help me......

Re: Validating a changed Value Of the Text Field.

Posted By:   Firat_Tiryaki  
Posted On:   Saturday, October 11, 2003 12:50 AM

try window.onbeforeunload event.
About | Sitemap | Contact