The jQuery click function works fine here
$('.deletelanguage').click(function(){
alert("success");
});
but if I set some
by ajax, $('.deletelanguage').click
doesn't work.
for example
function CreateRow(jdata) {
$('#LangTable').append('delete');
}
$.ajax({
url: "/jobseeker/profile/",
success: CreateRow
});
Now the $('.deletelanguage').click
for the last
is not working.
jsfiddle example :http://jsfiddle.net/suhailvs/wjqjq/
Note: the CSS works fine here.
I want to make these newly appended working with jQuery click.
No comments:
Post a Comment