set attribute value of input element with script tag : <p>I want to set the value on an input element like this:</p>

<pre><code>&lt;input type="submit" name="submit" id="loginButton" value="&lt;script&gt;document.write(language['login'])&lt;/script&gt;"/&gt;
</code></pre>

<p>but i can't get it to work. Is it not possible?</p>
