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 - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -