View Full Version : Can I run javascript after opening page from a link??

06-14-2007, 07:35 PM
Hey guys, here's a question that I haven't been able to find any answers on.

- Page A has two <A> links which when clicked open Page B.
- On Page B, there is a javascript event that is triggered by an Onclick.
- The first link from Page A opens page B just fine, then the user has the option to click some text to trigger the javascript event.
- The second link from Page A will open Page B, and automatically trigger the javascript event. I can't get that to work. I cannot use an "onload" on Page B, because I don't want the event to automatically be run every time the page opens, just when that second link opens it from Page A.

I would appreciate any help with this. Maybe it's not even possible! Thanks