|
|
Q685 How can I prompt the user when they leave my page if they've amended a textarea without submitting the form?
irt.org | Knowledge Base | JavaScript | Form 11 | Q685 [ previous next ] Q685 How can I prompt the user when they leave my page if they've amended a textarea without submitting the form?You'll not be able to stop someone from leaving the page in all cases. You can trap people selecting links on your page and then cancel them selectively, but not if the user uses the back of forward button, or selects an item from the history, or types in a url. For links try:
Feedback on 'Q685 How can I prompt the user when they leave my page if they've amended a textarea without submitting the form?' |
-- div -->
|