Populating data : uncaught syntaxerror unexpected end of input
<p>I have a form inside an iframe, and I'd like to prepopulate the form with certain data. </p>

<p>I'm trying to use php and javascript to accomplish this. </p>

<p>My code looks something like this : </p>

<pre><code>   &lt;script type="text/javascript"&gt;
      $(window).load(function() {
          document.getElementById('20988888993483').document.getElementById('input_13').value = &lt;?=htmlspecialchars($_POST['input_13'])?&gt;;
      }
  &lt;/script&gt;
</code></pre>

<p>the id of the iframe is 20988888993483, and the ID of the input is input_13. I preload the value from previous form submission. </p>

<p>This code is strung together though, and I'm not quite sure what to do. </p>

<p>The error I get when I load the javascript is : <code>uncaught syntaxerror unexpected end of input</code></p>

<p><strong>UPDATE</strong></p>

<p>Along with people's suggestions, I've added quotes around the PHP string. In the wild, with the value being 5, the javascript looks like this -- > </p>

<pre><code>  &lt;script type="text/javascript"&gt;
      $(window).load(function() {
        document.getElementById('20988888993483').document.getElementById('input_13').value = "5";
      }
  &lt;/script&gt;
</code></pre>

<p>I still get the error though. Thoughts greatly appreciated</p>
