jquery target link click event
- by Don
$('input[name="iplus"]').click(function() {
$(ol).append("<a href='#' title='delposition' class='beschr-"+($("#billsumary ol>li").length+1)+"'>löschen</a>");
});
Hi,
i like to target the created link like $('a[title='delposition']') and assign a click-event like:
$("a[title='delposition']").click(function() {
alert("Link klicked ...");
});
...but this dont work?
in order to further on retrieve the classname of that link..