GeeCON Prague 2014*
The moose likes HTML, CSS and JavaScript and the fly likes Expanding a form 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 "Expanding a form" Watch "Expanding a form" New topic
Author

Expanding a form

Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

I need a form that will show couple of extra fields when a particular checkbox is clicked. However, insated of a pop-up, I want this form to drop-down, or get aded "in-between" when the checkbox is clicked (so expand in a way), likewise when the checkbox is uncheked, the fileds should collapse.

How can I do this?? I haven't done mush of DHTML/JS for some time now?? Any pointers/inputs will be highly appreciated.

- Manish
Mouly Kumaraswamy
Greenhorn

Joined: Apr 17, 2006
Posts: 23
Refer to this page


SCJP 1.4 SCWD 1.4
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

Originally posted by Mouly Kumaraswamy:
Refer to this page


This is not what I am looking at, besides I want code that works in IE as well as Firefox.

- Manish
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

Never mind, I have got it done after few trials & errors!

- Manish
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
Sorry, posted it and then so that you solved it

[ June 19, 2006: Message edited by: Yuriy Fuksenko ]
 
jQuery in Action, 2nd edition
 
subject: Expanding a form