title: How do I pass a variable into html assigned to an element using jquery
body: <p>I'm trying to do something like this:</p>
  
  <pre><code>$('#player-container').html('&lt;div id="film-player" class="flowplayer play-button is-splash"  style="background:#777 url(myVariable) no-repeat;"&gt;');
  </code></pre>
  
  <p>The html isn't showing up because it doesn't in code blocks here. Basically I'm trying to nest a variable like this: style equals background url(myVariable) in the html I'm assigning to the element dynamically. </p>