How to remove checkbox from div using jQuery?
views:
41answers:
1
+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
2010-08-17 01:22:08
I have the checkboxid
user1111111
2010-08-17 01:32:15
@sam - In that case you can do `$("#checkboxid").remove()` directly :)
Nick Craver
2010-08-17 01:36:38