Confirmation script

ultraman

Well-known member
Joined
Dec 31, 1969
Messages
138
Location
Quebec, Canada
Ive seen a couple of very good exemples of javasripts for confirmation boxes purpose on this forum yet. But no one really answers my questions.

I am in a frameset with a menu (links) on the left that calls different forms on the right. In each form, theres a lot of TextBoxes, DropDownList, etc... The problem is that a user can start to fill a form and then, click the menu. I want to remind him that the data has not been submitted (saved) yet, and Submit the data or cancel the redirect depending on the answer. Is there a way to do it or should I use a different approach ?
 
I know this forums are not meant for javascript. But you can give it a try in <body onUnload=chk()> for the forms in the right side of the frameset. In the chk() function you can check whether the form has been submitted or not.
 
Back
Top