I am trying to create a list of text boxes, which can be created when hit the tab key and also deleted later on by clicking on the red cross on the right. For the first text box it works, but it doesn't work for the dynamically created elements. Can anybody solve the problem? At the moment I am using the following code and the rest is in jsFiddle.
$(".remove").on('click', function(){
alert('hello');
});