• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Submitting a page with a hiddenInput fieldwith javascript

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a page in which there are several hyperlinks (at this point they're just standard anchor tags), and when the user clicks on a link, I'd like it to populate a hidden input field, submit the form, then render the same page based on the selection that was made...

I found this post:


...which gets me about 75% of the way there, but it doesn't address two other issues:

1. What's the best/accepted practice for submitting the form?
2. How do I interact with the hidden input field on the server side after it's submitted?

Perhaps I'm looking at this incorrectly, and I'll certainly seriously consider any other suggestions that are offered...

This tiny ad is wafer thin:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic