I'm a bit stumped as to why this code is failing and have used numerous examples, but with no success.
This JS Fiddle is the exact issue I'm stuck on. You will notice that you can create a new row by clicking on the '+' icon, but when you attempt to remove a row by clicking on the trash can icon, presently, it should popup an alert just affirming that we made it into the function. This never happens and henceforth, is the reason for this post.
$("[id^=removeitem]").click(function() {
var elmId = $(this).attr('id');
alert(elmId);
});
Any help would be so very appreciated!