File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
zb cong
Ranch Hand
Posts: 416
  • 0
  • 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: 6547
21
Java Linux Mac Scala Spring
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic