$('
\ \ Delete a textfield
').insertBefore('#clicker').click(function(){ keyword_counts--; $(this).parent().remove(); });