HuyPV
Wednesday, March 13, 2013
How to remove “onclick” with JQuery?
$("a[id^=mylink]").attr('onclick','').unbind('click');
// will remove onclick event for all links - which id starts with mylink
Title:
jquery remove onclick
Description:
How to remove “onclick” with JQuery? $("a[id^=mylink]").attr('onclick','').unbind('click'); // will remove...
...
Rating:
4