Posted by jojo on 07/23/06 16:46
Dan schrieb:
> jojo wrote:
>> You're right again. Didn't recognize that I missed it.
>
> And end the "onclick" attribute with ";return false" to make sure that
> if the Javascript is executed, the regular link isn't also followed.
>
ASFAIK the "onclick" is executed anyway, so you don't need the "return
false". The advantage: the JS has to open only one link, the other one
is executed the "common" way.
[Back to original message]
|