I have some HTML with an onclick attribute. I want to override that attribute using jQuery. Is there any way to remove the click handler using jQuery? Using unb
onclick
Tried given options but worked partially as they removed one but not all.
Instead I tried following chaining as workaround. I am using ver 1.4.2.
jQuery("selector") .removeAttr("onclick").removeAttr("onmouseout").removeAttr("onmouseover");