Hi,
I want to know how can I change the value using textbox before i click the submit button?
Please help!
Hi,
I want to know how can I change the value using textbox before i click the submit button?
Please help!
Try this on the form.
Code:<form name="frmForm' action='default.asp'> <input type="text" id='txtName'/> <input type='button' onclick='jscript:changeTextbox();'> </form> <script language='JScript'> function changeTextbox() { txtName.value = 'hello wolrd'; frmForm.submit; } </script>
PLEASE REFER THIS PAGE:
http://www.dotnetfunda.com/articles/article72.aspx
Hope this helps!
IF YOU CAN'T Convince THEM ...
CONFUSE THEM ...
Bookmarks