Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $("a").on("click", function(){
- $(".add").append('<ul class="lista">' +
- '<li>Coffee</li>' +
- '<li>Tea</li>' +
- '<li>Milk</li>' +
- '</ul>'
- );
- });
- $(".lista li").on("click", function(){
- alert("test");
- });
- });
Add Comment
Please, Sign In to add comment