Want to add labels and textboxes on clicking a Href link
- by user1740184
I am using code in view of MVC as below
<div class="form-inline">
<label class="control-label"><b>Length</b></label>
<input type="text" name="Refinishing.Room.Length.Feet" id="Refinishing_Room_Length_Feet" style="width: 80px" class="floor-text" />Ft
<input type="text" name="Refinishing.Room.Length.Inch" id="Refinishing_Room_Length_Inch" class="floor-text" />Inch
<label><b>Width</b></label>
<input type="text" name="Refinishing.Room.Width.Feet" id="Refinishing_Room_Width_Feet" class="floor-text" />Ft
<input type="text" name="Refinishing.Room.Width.Inch" id="Refinishing_Room_Width_Inch" class="floor-text" />Inch<br />
<a href="#">Add Room</a> / <a href="#">Remove Room</a>
</div>
and I want to add the contents of "<div>" on clicking the link "Add Room".
How can it be done?