kristinac13
Programmer
Let's say you can make the body of my page unload two ways - a button which does one thing, and a link which takes you somewhere else altogether. I want to write an if statement that says
If the unload is caused by the user clicking a link, do this...
If the unload is NOT caused by the user clicking a link, do the other...
Does that make sense? I seem to be having more trouble than I think I should be getting this to work but nothing I've tried so far has...Any ideas would be appreciated...
If the unload is caused by the user clicking a link, do this...
If the unload is NOT caused by the user clicking a link, do the other...
Does that make sense? I seem to be having more trouble than I think I should be getting this to work but nothing I've tried so far has...Any ideas would be appreciated...