Quote:
Originally Posted by rnd me
try onclick="this.href=location.href; somefunction();return false;"
you could also use onmousedown instead of onclick to cut the click off by about 100ms.
if you are worried about an error in the function, rethread the stack by using settimeout:
onclick="this.href=location.href; setTimeout(somefunction, 35); return false;"
|
Why in the world are you telling him to set the href of the link to the current page?
Eric
__________________
Tech Author [Ajax In Action, JavaScript: Visual Blueprint]
|