This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hidden field

 
Isaac Ferguson
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need form in which I could display values(checkboxes) without going to another jsp, pressing a button

Regards,
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question does not make sense.

If you do not want something to be displayed you can set its display to none.

Eric
 
Isaac Ferguson
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

thanks for reply.

I mean that I am in a *.jsp and I can see in the view a table with some values, and also a button. Then when I press the button a need display dinamically another table which was hidden in the code and only in shown when I press that button
Any ideas?

Maybe using hidden values. I would appreciate some code.

Thanks,
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The CSS display property is used to show and hide elements.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basic idea to show hidden content



Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64700
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or, simply .hide() and .show() using jQuery.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic