Arthur B Arthur B - 1 year ago 49
jQuery Question

Avoid some HTML element from JS function with HTML data

I would like to avoid some HTML element from a JS function with HTML data, or tag element. Is it possible or not?

Thanks! :D

Answer Source

Use jQuery to select and exclude things from the result.

$( ".some_class" ).not( "some_element" );