title: Is there a way to pass variable into jQ .attr or .css?
body: <p>Is there any way to pass variables as  <code>.attr</code> or <code>.css</code> value?
  For example</p>
  
  <pre><code>containerHeight = $('#div1").height();
  $('#div2').css('height',containerHeight) 
  </code></pre>