Javascript reference to button that triggered it
I want to execute javascript when I click a button and I want the script to know which button I clicked. If button a, do this, if button b do something else, etc.
In a webpage I would just use the 'this' keyword to refer to the element that fired the event, but when I try it in Captivate, I get the window object!
Any ideas?
It's a long, boring story why I want to do it this way instead of advanced/shared actions, but suffice it to say, if I can get this working it will be better.
