tags:

views:

41

answers:

1

How to remove checkbox from div using jQuery?

+2  A: 

You can use .remove() in combination with a selector, like this:

$("#myDiv :checkbox").remove();

Which selector you'd use depends on your markup, you can read more on selectors here and here.

Nick Craver
I have the checkboxid
user1111111
@sam - In that case you can do `$("#checkboxid").remove()` directly :)
Nick Craver