Correct syntax for inserting jQuery variable into 'style' attribute
<p><code>var heightMap = $('.sticky-panel-map').outerHeight(true);</code></p>

<p><code>var fillerMap = $('&lt;div style="height: '+ heightMap +'"/&gt;');</code></p>

<p>I don't know if the syntax is wrong or what? <code>heightMap</code> isn't being applied, I'm getting this in Firebug:</p>

<p><code>&lt;div style=""&gt;&lt;/div&gt;</code></p>

<p>All good as mentioned in the comments I went with: <code>$("&lt;div&gt;").css("height", heightMap)</code></p>

<p>Thanks</p>
