• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how the "html:select" tag activate the nevigation event?

 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone:
i embed the <html:select>tag and submit button in the <html:form> tag,when i select a item,i must click the submit button to nevigate other page.
now i want to delete the submit button,when i select a item,it will automatically nevigate to the destination,how?must i insert java script into my page?who can gvie a scriptlet?
thank you!
 
Junilu Lacar
Bartender
Pie
Posts: 7465
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to use a JavaScript function to submit the form and call it from the onchange event in the <html:select> tag.
You can try looking for examples at http://www.javascript.com
Junilu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic