Difference between revisions of "JavaScript devel"
From Hawk Wiki
(Created page with "==Edit form input value and submit form== $('input[name="uname"]').val("abc"); document.forms["form1"].submit();") |
(→Edit form input value and submit form) |
||
Line 1: | Line 1: | ||
==Edit form input value and submit form== | ==Edit form input value and submit form== | ||
− | $('input[name="uname"]').val("abc"); | + | $('input[name="uname"]').val("abc");<br> |
document.forms["form1"].submit(); | document.forms["form1"].submit(); |
Revision as of 16:08, 22 July 2011
Edit form input value and submit form
$('input[name="uname"]').val("abc");
document.forms["form1"].submit();