Rewriting .on methods for jQuery 1.6 -


i want build in plugin, written jquery 1.11 site, written on jquery 1.6. plugin has several methods goes like

document.on('touchstart mousedown ...', function(){...});  

they should rewritten jquery 1.6. how should rewrite these methods? unfortunately not find info in api of jquery.

how along lines of:

jquery.fn.on = function() {     alert('overriden'); }; 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -