javascript - How do I disable all the onclick events on a page - Stack Overflow $("*").unbind("click...

Please Visit: http://ift.tt/1ajReyV



javascript - How do I disable all the onclick events on a page - Stack Overflow

$("*").unbind("click"); // Removes all click handlers added by javascript from every element

$("[onclick]").removeAttr("onclick"); // Finds all elements with an 'onclick' attribute, and removes that attribute

http://ift.tt/1qmsPnS

http://ift.tt/1mKwupq



javascript - How do I disable all the onclick events on a page - Stack Overflow







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1mKwtBU

via LifeLong Community

No comments:

Post a Comment