javascript - Call method from specific Js version file -


i have 2 version of datatable.js 1.9 , 1.10 , have included both in master page , child page.

now particular functionality want access method 1.9 only,

i have used

jquery.noconflict(); 

but throws

$ not function

while in sample app jsfiddle found working when having on both version in similar page.

what should case here

just use this:

var $i = jquery.noconflict(); 

when want function call using opject, use:

$i.methodname(); instead of $.methodname();


Comments

Popular posts from this blog

PHP while loop dynamic rowspan -

timer - Java TimerTask cancel -

android - How to read a column value in parse.com without accessing an object or a pointer -