how remove an element from an element
<li><input type="checkbox" name="test" />test</li>
how can I remove the input field from the list?
I want to end like this:
<li><input type="checkbox" name="test" />test</li>
I thought the following, but does not work:
$('li').remove('input');