Conditional onUnload

Results 1 to 2 of 2

Thread: Conditional onUnload

  1. #1
    Join Date
    Dec 1969

    Default Conditional onUnload

    Want to exclude clicking a submit button from the onUnload action.

  2. #2
    Join Date
    Dec 1969

    Default RE: Conditional onUnload

    There are lots of ways of doing this ... maintaing a variable that indicates a flag of some sort could be utilized, for instance:<BR><BR>&#060;input type=submit onClick="flag=0;"&#062;<BR><BR>Then in your unload event check the status of the flag to see what caused the unload.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts