javascript - Call Jquery library only for specific tasks -


i'm scraping news website php , injecting jquery library in head, along own script depends on jquery. have experienced loss of functionality regarding websites. wondering if possible make jquery library function script , not "assimilating" other scripts on page.

i have googled can find jquery noconflict() doesn't job done.

jquery noconflict way go remember need name no conflict copy , use copy of jquery code:

var $j = jquery.noconflict(); // $j alias jquery function; creating new alias optional.  $j(document).ready(function() {     $j( "div" ).hide(); }); 

see more here: http://learn.jquery.com/using-jquery-core/avoid-conflicts-other-libraries/


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -