I have a jQuery function that I finally got to work, the problem is that it seems to run twice, I get the alert twice. In FF it I get this alert up to 5 times!
Code:
<ul>
<li>
(U) Spiral 1.5: <a class="glossaryLink" href="#">SCCVI</a> and <a class="glossaryLink" href="#">SCRI</a> </li>
<li> (U) Spiral 2: <a class="glossaryLink" href="#">HBSS</a> </li>
</ul>
Code:
function setGlossLinkListeners()
{
$('a.glossaryLink').live("click", function(event){
onRollOverPULink();
});
}
This function runs multiple times.
Code:
function onRollOverPULink()
{
alert("onRollOverPULink");
}