Link to home
Start Free TrialLog in
Avatar of metalaureate
metalaureateFlag for United States of America

asked on

Any drawbacks to this construction: <ahref="" onClick="JSfunction();return false;" as a substitute for javascript:

Dear Experts

Are their any drawbacks to this construction: <a href="" onClick="JSfunction();return false;" as a substitute for javascript:httpp//...

Assume IE5+ and Moz/Firefox/NS 7+ browsers with no concern about JS being off.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of knightEknight
knightEknight
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
short answer: no drawbacks as compared to  href="javascript:JSfunction"
(which looks ugly in the status bar)