When I'm trying to push new name in to my array, enter key don't respond and there for I can't add another names.
Part of the JS:
$("input[type='text']").keypress(function(event){
if(event.which === 13){
var newName = $(this).val();
$("#" + "newName").append("#" + names);
names.push(this.value);
}
});
My Codepen