Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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

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

Joined: Feb 26, 2001
Posts: 6264

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
I agree. Here's the link:
subject: how the "html:select" tag activate the nevigation event?
It's not a secret anymore!