<div class="cast">
<p id="addnew">
<input type="text"><b id="add">ADD</b>
</p>
</div>
$(document).ready(function(){
$("#add").click(function(){
$("#addnew").append("<p><input type=\"text\"><u id=\"del\">delete<u></p>");
});
$('#ab').click(function(){
alert();
});
});
I clicked #add
. Append <p><input type=\"text\"><u id=\"del\">delete<u></p>
later click #del
. No function.
I have two ajax functions. Call PHP include html code