Click here to Skip to main content
15,794,593 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here i have attached images

the 1st image , 1stimg.png , shows when i click on room box , it shows be a box ahead as shown[^]


in 2nd image , 2ndimg.png , when add room clicked ,it shows one div added as shown.[^]

How to do that..?? Is that a jquery , how to do this ????

maulik shah</pre>
How to do that..?? Is that a jquery , how to do this ????

maulik shah
Updated 9-Dec-13 22:03pm

1 solution

Yes, that is jQuery.

On "Add room" click event, you just need to append 5 controls to the Div after the first set of controls for "Room 1".

5 controls are...
  • "Room 2" : A Label
  • "Adults()" : A Label
  • "Children" : A Label
  • DropDown (select box) for Adults
  • DropDown (select box) for Children
Share this answer
maulikshah1990 10-Dec-13 3:52am    
Hi Tadit,, thanks , but how..i wanted with example
Check Dynamically Add Input Fields To Form Using jQuery[^] for one example. You will get the idea.

Please accept this answer, if it has helped you in any way.
This will help others to find the answer in one go and you will also be awarded with some points for this action...


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900