Unbind or replace an inline javascript onclick attribute.
$(“#your_element”)[0].onclick = null;
In trying random things to solve this.. my main problem was forgetting [0]
Enjoy.
Yuji's Increasingly Infrequent Ramblings
Unbind or replace an inline javascript onclick attribute.
$(“#your_element”)[0].onclick = null;
In trying random things to solve this.. my main problem was forgetting [0]
Enjoy.
Really nice tip. It saves my time. Thanks