The Form body code looks as below
The form having two textboxes , one dropdown list and one button control.
The idea is checking whether user is leaving the page without saving the data on button click event. It shows a client side confirmation message box on client click of the button.
It loops through the controls in page and generates the confirmation box.
|Share this post :|