Saturday 31 August 2013

Methods for removing jquery conflict in magento or other cms


<script>
$.noConflict();
jQuery(document).ready(function($) {});
</script>

<script type="text/javascript">
  $.noConflict(); //Use no conflict here instead of js file
  // Code that uses other library's $ can follow here.
</script>

<script type="text/javascript" >
    jQuery.noConflict();
</script >

Above are those methods which helps to solve jquery conflicts in different-2 situation.

Or If its all does not work:

Please check the front-end with rename the library file of jquery.
May be its already include with other conflict script.

No comments:

Post a Comment