<a href="javascript:void(0)" onclick="myJsFunc();">Run JavaScript Code</a>
Kaynaklar:
http://stackoverflow.com/questions/134845/href-attribute-for-javascript-links-or-javascriptvoid0
http://patrickdesjardins.com/blog/using-onclick-for-javascript-function-instead-of-href
http://stackoverflow.com/questions/1070760/javascript-function-in-href-vs-onclick
Hiç yorum yok:
Yorum Gönder