$( function() {
$( ".answers li" ).on( "click", function() {
$( this ).remove();
});
});
That should do the work ; maybe this will not run with dynamically added content, you may try this alternative (and add a class to your li
elements ) :
$( function() {
$( document ).on( "click", ".liClass", function() {
$( this ).remove();
});
});