Remove
Remove the set of matched elements from the DOM.
<div>
<input type="button" id="btnRemove" value="Remove The Content">
<p id="blockContentToRemove">The Content</p>
<?php
echo
YsJQuery::newInstance()
->onClick()
->in('#btnRemove')
->execute(
YsJQuery::remove()->in('#blockContentToRemove')
)
?>
</div>
The Content

Support requests, bug reports, and off-topic comments will be deleted without warning.