aspose file tools*
The moose likes Struts and the fly likes how the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how the "html:select" tag activate the nevigation event?" Watch "how the "html:select" tag activate the nevigation event?" New topic
Author

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

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
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

Joined: Feb 26, 2001
Posts: 5288
    
  10

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
 
subject: how the "html:select" tag activate the nevigation event?