I want to append a div(chunk of code ) onclick of a link up to 2 times only. After appending second time, I want to hide the link "add more provider".

My present code : [**Demo**](http://jsfiddle.net/Hk6Ch/)

```
 $('#addProviderLink').click(function(e) {

    var addProviderDiv = $('<div class="formData"><strong><label>Additional Provider</label></strong><input type="text" class="ac_input width226" value="" /><span class="f11"><a href="#" class="underline removeThis">Delete</a></span> </div>');

       $('.addProContainer').append(addProviderDiv);
  });
$('.removeThis').live('click', function(){
    $(this).parent().parent().remove(); 
});

```