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');
});
});
Ok so this works in a blank page, but this is in the context of a rails 3 app. Must be something in there, although I can't see what.