title: jQuery works on jsFiddle doesn't work on wesite
body: <p>I have a jQuery script that works in jsFiddle, but doesn't work on an actual website and I cannot think of anything more to do.</p>
  
  <p>Here is the <a href="http://jsfiddle.net/flish/GB5Xm/" rel="nofollow">fiddle</a></p>
  
  <p>and here is the <a href="http://ro-bot.fr/flish/next.html" rel="nofollow">website</a></p>
  
  <p>I need a checkbox that when clicked will in turn check a number of other checkboxes. </p>
  
  <pre><code>$("form input[id='selectall']").click(function () {
      var inputs = $("form input[class='produse4export']");
      for (var i = 0; i &lt; inputs.length; i++) {
          if (this.checked) {
              inputs[i].checked = true;
              checkme();
          } else {
              inputs[i].checked = false;
              uncheckme();
          }
      }
  });
  </code></pre>
  
  <p>When these checkboxes are checked (all at once), they have to enable other checkboxes. When they are unchecked the rest of the checkboxes have to be again disabled and unchecked (if they were checked).</p>
  
  <p>Kinda hard to explain, but both the fiddle and the webpage are easy to read. Why doesn't it work as expected?</p>