JavaScript/jQuery - textchange
<p>I have a html- <code>input type="text"</code>, and I want to add this tag an event handler that will work when the text is changes. The problem is that this input is getting his value from antoher javascript function and then the event handler isn't working.</p>

<p><em>For example</em></p>

<p>This is the event:</p>

<pre><code>$("#inputid").change(function(){
   alert('bla bla')
}
</code></pre>

<p>And this what need to raise the event</p>

<pre><code>function inputvalue(){
   $("#inputid").val="bla"
}
</code></pre>

<p>Unfortunately when the value of the input is changing (from the function inputvalue),it doesn't raise the event. If I put the value of the input manually the event is working</p>

<p>Any idea why the javascript doesn't reconize the text change from a script?</p>
