fill input text
<p>How could I fill a text input. I trying this</p>

<pre><code>&lt;input id="curso" maxlength="150" name="curso" size="40" type="text" value="window.location.href.substring(91))" /&gt;
</code></pre>

<p>But does no work.</p>
