How to remove a specific element on page load by JQuery

If you want to remove a specific element from your web page, follow these steps:How to remove a specific element on page load by JQuery

1. First of all add some HTML code in your code file, like this:

<div class="container">
    <div class="demo">We are removing this bottom element:</div>
    <div class="test">text to be removed.</div>
</div>


2. Then use remove() function to remove this element, like this:

jQuery(document).ready(function(){ jQuery(“.test”).remove(); });

Now you will see your target element will removed after full page loaded, and output code will look like this:

<div class="container">
    <div class="demo">We are removing this bottom element:</div>
</div>

How to remove a specific element on page load by JQueryexpoundsofttechsolution
What is GMT?