I am appending a <li>
and when I try to click it using the new .on event, it doesn't work. I don't want to use the .live event since it might be going to be deprecated in the future.
Here is my example: http://jsfiddle.net/2Lbbe/
This works for the first item, if you create a new the alert doesn't work.
Anyone know how can I solve this problem without using live?