metalaureate
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();retu rn false;" as a substitute for javascript:httpp//...
Assume IE5+ and Moz/Firefox/NS 7+ browsers with no concern about JS being off.
Thanks.
Are their any drawbacks to this construction: <a href="" onClick="JSfunction();retu
Assume IE5+ and Moz/Firefox/NS 7+ browsers with no concern about JS being off.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
short answer: no drawbacks as compared to href="javascript:JSfunctio n"
(which looks ugly in the status bar)