| Author |
html:form - how to define name attribute?
|
Justin Chu
Ranch Hand
Joined: Apr 19, 2002
Posts: 209
|
|
<html:form> requires attribute "action" to specify the url of the action.do to invoke. I also noted that <html:form name="myForm"> is deprecated. How do I render the following html for javascript use? <form name="myForm" action="MyAction.do"> </form> [ September 10, 2002: Message edited by: Chu Tan ]
|
 |
Matthew Phillips
Ranch Hand
Joined: Mar 09, 2001
Posts: 2676
|
|
|
Have you tried the onsubmit attribute of the form tag?
|
Matthew Phillips
|
 |
Justin Chu
Ranch Hand
Joined: Apr 19, 2002
Posts: 209
|
|
I am trying to do this function process(){ document.myForm.submit(); } <form name="myForm"> <select onChange="javascript:process()" name="id"> <option value="1">John Doe</option> </select> </form> [ September 11, 2002: Message edited by: Thomas Paul ]
|
 |
 |
|
|
subject: html:form - how to define name attribute?
|
|
|