aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Hidden field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Hidden field" Watch "Hidden field" New topic
Author

Hidden field

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 389
Hi,

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

Regards,
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Jun 22, 2012
Posts: 389
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

Joined: Jan 10, 2002
Posts: 61628
    
  67

The CSS display property is used to show and hide elements.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Basic idea to show hidden content



Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61628
    
  67

Or, simply .hide() and .show() using jQuery.
 
jQuery in Action, 2nd edition
 
subject: Hidden field