title: jQuery.attr() works fine on Google Chrome and IE, but fails on Firefox 8.0.1
body: <p>I'm facing a curious behavior of Firefox 8.0.1 : this piece of code works fine on Google Chrome and in IE, but on Firefox it fails except if I run it in 'debug mode _ step by step' or if I put an alert just after the line where I set the attribute "rel"...</p>
  
  <pre><code>// some stuff before
  // this piece of code works fine excepts on FF
          totaltracks = data.length;
      j=0;
      while(j&lt;totaltracks){
          newtrack =data[j];
          myPlaylist.add(newtrack);
          tracks = $("a.jp-playlist-item");
          curtrack =  $("a.jp-playlist-item")[j];
          $(curtrack).attr({rel:j});
          // I tried too : $("a.jp-playlist-item")[j].attr("rel",j); with same no effect on FF
          j++;            
      }    
  </code></pre>
  
  <p>It seems FF just don't take care of the instruction (or jump it) if not done step by step ...
  2 days passed facing this wall ... any help/clue/trick would be much appreciated</p>