Welcome Guest, Not a member yet? Register   Sign In
Jscript Conflicts
#4

[eluser]pickupman[/eluser]
I've always preferred to use this method for noConflict
Code:
jQuery(document).ready(function($){
  //Passing $ to the ready function converts $ shorthand reference to jQuery
  $(".stuff_here").something();
});

All references inside the ready() function will get passed the jQuery object allowing it to work with out conflict.


Messages In This Thread
Jscript Conflicts - by El Forum - 09-17-2012, 03:01 PM
Jscript Conflicts - by El Forum - 09-17-2012, 04:59 PM
Jscript Conflicts - by El Forum - 09-18-2012, 12:01 PM
Jscript Conflicts - by El Forum - 09-18-2012, 01:30 PM
Jscript Conflicts - by El Forum - 09-18-2012, 01:45 PM
Jscript Conflicts - by El Forum - 09-18-2012, 02:29 PM
Jscript Conflicts - by El Forum - 09-18-2012, 02:41 PM
Jscript Conflicts - by El Forum - 09-18-2012, 02:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB