title: Problem passing string value into animate Jquery function
body: <p>Hey I'm wonder what's the difference between these 2 codes? The first works but the 2nd doesnt?</p>
  
  <pre><code>First &gt;&gt;
  for (i=0; i&lt;$sequencingArray.length; i++){
  ...
  $($sequencingArray[i]).delay(i*100).animate({'margin-left':$masterWidth});
  ...
  }
  
  Second &gt;&gt;
  $propToAnimate = 'margin-left';
  for (i=0; i&lt;$sequencingArray.length; i++){
  ...
  $($sequencingArray[i]).delay(i*100).animate({$propToAnimate:$masterWidth});
  ...
  }
  </code></pre>