jQuery(document).ready(function(){ jQuery('#add').click(function() { jQuery('Doc Title :').css({"background-color" : "#E0D7A7","padding" : "5px","width" : "500px"}).fadeIn('slow').appendTo('.inputs'); }); jQuery('#remove').click(function() { jQuery('.field:last').css({"background-color" : "#ff0000"}).fadeOut(300, function(){ jQuery(this).remove();}); }); }); Continue reading