Adding and removing Texbox and Button dynamically using JQuery.

Introduction : 
     Hi, Here i will Explain how to add and remove the Textbox and Buttons Dynamically Using Jquery from the Client Side.In 'Add More' button Click New textbox and delete button will be generated for Every row. on delete Click particular button gets deleted Automatically. These Entire Process will be Carried from Client Side Using JQuery.

Logic  :  
Here I had a UnorderedList <ul> with id 'sites' While Clicking 'Add More' button i am appending the <li> tag that contains textbox and button to the <ul> of id 'sites'. so now <ul> tag contains <li>,textbox and button. While Appending am creating a class named 'remove' for delete button. by using the class on the button Click am removing the <li> tag so the row gets deleted.

Asp code (with Jquery) : 

<title> Fourthbottle Add rows dynamically</title>
<style type="text/css">
   width: 340px;
   padding: 2px;
   list-style: none;
   float: left;
    width: 100px;
<script type="text/javascript" src=" "></script>
<script type="text/javascript">
$(document).ready(function () {
$('#add').click(function () {
var str = '<li>';
str += '<label>Name</label><input type="text" value=""/> ';
str += '<input type="button" value="remove" class="remove"/>';
str += '</li>';
$('.remove').live('click', function () {
<form  id="form1" runat="server">
<legend style="color:Maroon">Fourth bottle</legend>
<ul id="sites">
<label>Name</label><input type="text" value="" />
<input type="button" id="add" value="Add More" />