This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
var new_one = $('fieldset #new_one').clone();
|
|
$('fieldset #new_one').remove();
|
|
|
|
$('fieldset a.remove').live( "click", function(){
|
|
$(this).parent().remove();
|
|
});
|
|
|
|
$('fieldset a.add').click(function(){
|
|
new_one.clone().appendTo( $('fieldset') );
|
|
}) |