How to pass input value to string variable?
<p>I'm trying to allow users to specify the height and width of an iframe. I would like to allow them to enter a height and width which would populate those values in a string wich they could copy and paste.  I'm not sure how to pass that value to the string.</p>

<pre><code>&lt;form id="embed-customize" action="/" style="display:block"&gt;
    &lt;fieldset class="embed-size"&gt;
    &lt;legend&gt;Size:&lt;/legend&gt;
    &lt;div&gt;
    &lt;input id="embed-width" type="text" value="300"&gt;
    x
    &lt;input id="embed-height" type="text" value="500"&gt;
    &lt;/div&gt;
    &lt;/fieldset&gt;

&lt;/form&gt;
&lt;textarea id="embed-url" rows="3" cols="100"&gt;&lt;/textarea&gt;
&lt;script&gt;
jQuery(document).ready( function() {
var embedWidth = "";
var embedHeight = "";
var iframe = "";

jQuery('#embedWidth').blur(function(){
  embedWidth = jQuery(this).val();
})

var iframe = '&lt;iframe width = ' + embedWidth + 'px height = ' + embedHeight +'px frameborder = "0" scrolling = "no" src = "http://www.example.com"&gt;"&gt;&lt;/iframe&gt;';
jQuery('#embed-url').val(iframe);
})
&lt;/script&gt;
</code></pre>

<p>This is what I have so far but it doesn't seem to work.  I'm not sure what I'm doing wrong.</p>
