This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes 1 PROPERTY TO NEXT PAGE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "1 PROPERTY TO NEXT PAGE" Watch "1 PROPERTY TO NEXT PAGE" New topic
Author

1 PROPERTY TO NEXT PAGE

Rodrigo Zimmermann
Greenhorn

Joined: Sep 02, 2003
Posts: 1
Guys, Help me, i need to pass only one variable to the next page, when i select de list box. example:
i have 2 radiobuttons and 4 selects
if i select the first radio button, i only want pass the variable the first SELECT, with i select de second radiobutton, will pass the variable of the second SELECT
how i do??
tkz
Rodrigo


Joey
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Moving to the HTML/Javascript forum...
Rather than submitting the form that contains all your active elements, create a second, hidden form that contains only the single element that you want to submit.
When the 'submit' button is selected, you can then use Javascript to copy whatever data is appropriate (according to your rules) into the second form and submit it.
hth,
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 1 PROPERTY TO NEXT PAGE
 
Similar Threads
Need Help in to write query using StringBuffer
paging resultset in servlets
Display a textbox after dropdown change
Passing values between pages
Passing variable value from javascript to jsp page at run time