Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

1 PROPERTY TO NEXT PAGE

 
Rodrigo Zimmermann
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic