Edit the value of an <input> element by jQuery
<p>I want to fill an  element with data using jQuery.</p>

<p>Unfortunately, the element stays blank. Until now, i used a workaround and used a textarea instead of input (which is working for some reason).</p>

<p>I did not only try</p>

<pre><code>$('#input').val("Text") ;
</code></pre>

<p>but also</p>

<pre><code>$('#input').text("text") ;
$('#input').attr("value", "Text") ;
</code></pre>

<p>I do not understand this behaviour, outside of my project it works just fine.
Maybe an overlook over the <a href="http://pastebin.com/D59MxffL" rel="nofollow">complete code</a> could help. (Excuse the codemess)</p>

<p>Also i've got a small sidequestion:
I'm using <code>async: false</code> to make the whole thing work, if i remove it, nothing will be shown. But as i know that this is deprectaed, what alternatives do i have?</p>

<p>Thank you very much.</p>
