textbox value cannot be change using javascript : <pre><code> document.getElementById("name").value = data;
</code></pre>

<p>it shows Uncaught TypeError: Cannot set property 'value' of null. why is this happen?</p>

<p>the data have the value.</p>
