• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

passing hidden values

 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a basic question in HTML.

I have 10 rows of data with a radio button beside each one of it.When user selects one of those rows with radio button , in addition to the radio button value i have to pass two hidden values ,corresponding to that row.

right now when ever i select a radio button value , i am able to pull the radio button value fine , but it keep giving me the first row value for hidden value.

any idea?

Thanks
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have unique field names/IDs for those hidden values? Are they any chance named the same thing for each row?

Is this on a POST of a form?
 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tom , yes there were named same that was the problem , i changed it to have unique names it works fine now.
 
reply
    Bookmark Topic Watch Topic
  • New Topic