Remove the contents (child elements and inner HTML) from one element or a set of elements in the template.Use remove() to remove the elements themselves.
This script empties all Span elements found in the template.
results.empty();