Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hidden fields in an iterator  RSS feed

 
vinitha simon
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an iterator in my jsp, I need to set the ID of the elements as hidden fields for all the elements in the Iterator. how do I set the hidden field? Any help is appreciated.

TIA
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll have to explain what you are trying to do better. The id of the elements has nothing to do with whether they are hidden or not. To create hidden fields you set the type attribute of the <input> element to "hidden".
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!