Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove jquery

$("#demo").remove();            // removes the selected element
$("#demo").empty();             // removes children
$("div").remove(".cl1, .cl2");  // removes divs with the listed classes
Source by htmlcheatsheet.com #
 
PREVIOUS NEXT
Tagged: #remove #jquery
ADD COMMENT
Topic
Name
2+5 =