Note that there are some explanatory texts on larger screens.

plurals
  1. POJquery conflict with jquery tools
    text
    copied!<p>My problem is after adding:</p> <pre><code>&lt;script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"&gt;&lt;/script&gt; </code></pre> <p>to my site, Plugins like nivoslider, and other jquery scripts are not working.</p> <p>but in order to make working the code below i need "jquery tools"</p> <pre><code>&lt;script type="text/javascript"&gt;&lt;!-- function GetAvailProductSizes() { $('select#productsize option').remove(); $('select#productsize').append('&lt;option value=""&gt;&lt;? echo $langdata['oneprodpage_selectsize']; ?&gt;...&lt;/option&gt;'); var color = $('#productcolor').val(); if (color &gt; 0) { var availsizes; var http_request = new XMLHttpRequest(); http_request.open( "GET", '&lt;? echo ROOT; ?&gt;/autocompleteavailsizes/?productid=&lt;? echo $thisproduct['id']; ?&gt;&amp;color=' + color, true ); http_request.send(null); http_request.onreadystatechange = function () { if ( http_request.readyState == 4 ) { if ( http_request.status == 200 ) { availsizes = eval( "(" + http_request.responseText + ")" ); for (var i = 0; i &lt; availsizes.length; i++) { $('select#productsize').append('&lt;option value="' + availsizes[i].id + '"&gt;' + availsizes[i].name + '&lt;/option&gt;'); }; } else { alert( "There was a problem with the URL." ); } http_request = null; } }; }; } //--&gt; &lt;/script&gt; </code></pre> <p>it works only if i include:</p> <pre><code>&lt;script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"&gt;&lt;/script&gt; </code></pre> <p>BUT if i do so, other jquery scripts are not working, i mean nivoslider and other simple popup divs...</p> <p>How should i solve this problem?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload