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
Post a Comment