Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onclick() event

Status
Not open for further replies.

tyris

Programmer
Nov 2, 2000
311
FR
hi all,

i have a doubt |-I ... is it possible to manage with the onclick() event in a <a href> tag ?

i wrote this :
<A onclick='test()' href=&quot;toto.html&quot;>link</A>
and i have this error message :
&quot;object doesn't support this property or method&quot;

what's wrong ? Best regards X-),
Elise
 
onclick=&quot;javascript:alert('anything')&quot;> would be a better test as it allows you to see if the error is in the a href (!!!!!!would be surprising !!!!!!!!) or in the jscript function - my guess
 
yes you're right, that's not the problem, the problem is on the function i call...
hope i'll find where :eek:)

thanks Best regards X-),
Elise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top