Hello,

how to define an hyperlink that throws an
onclick-event?

I'd like to have the same behaviour as for buttons:
<button onclick="doSomething();" /> 

If possible, what is the correct syntax.
I tried 
<a href="" onclick="doSomething();">Link</a>
without success. 

Cheers,
lyric



__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 

Reply via email to