This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing html text field as a c:url parameter

 
Scott Updike
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I have a simple jsp page with a submission form as well as a link. What I need to do is figure out a way to pass the value in the storecredit text field in the updateTxnCustomer form as a parameter to the link. The user has the ability to alter the prepopulated value in the text field, so it could be different from the salestxnto.storecredit value.

How do I do this?

Thanks,
Scott


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to handle this on the client in JavaScript. How could the JSP know what the user is about to enter into the field before the page is even sent to the browser?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic