Hi All
I have a form in my html page . I am trying to simulate form submit from
tag using onclick="document.myForm.submit();". The onSubmit() method my
wicket class doesnt get called when i do this. Do i have to use <input
type="submit"/> to achieve this. i am using tag so that i can style the
buttons as required.
Thanks
Haritha
=== Here is the code i am using ======
<form wicket:id="myForm" id="myForm" method="post" style="margin:-5px 0px
0px 10px;">
<br>
<div>
<label>To [Email]:</label><br><input type='text' wicket:id="to"
style="width:250px"/>
<div>
document.myForm.submit();">Submit
</div>
</form>
================================
--
View this message in context:
http://www.nabble.com/form-submit-using-document.form.submit%28%29-in-wicket-tp15889727p15889727.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]