Jquery click and append dissapearing
- by Cameron
When this fires I see the added li for a split second and then it disappears....
What gives? Using jquery 1.4.2
$(function(){
$('a#add_phone').click(function () {
$('<li>Test</li>').appendTo('ol#phones');
});
});