Hell sir,
How to change the value of hidden field in a form from javascript code
Please reply me as soon..........
With regards,
Velmurugan.H
hi,
if you don't mind can you please clarify what your problem is. Well
any way this might help you, in javascript we have the function getElementById()
with this function you can distinguish which object you want to change the value, get the value or anything you want to do with the object within a document.
example i have this form without any button
<form name="sample" id="sample" method="post" action="sample.php">
<input type="text" name="text" value="Sample text" />
</form>
now i want to submit it with just clicking a plane text, i'll do that with just simple as this.
<p onClick="javascript
: document.getElementById('sample').submit();">
Click This
</p>
try to expand my sample and you will get what you want to do in your project
bye bye
--nert