Introduction:
Here I will explain how to use jQuery empty() function and remove() function with examples. In jQuery both empty() and remove() functions are used to remove the elements. Empty() function in jQuery is used remove inside content of div element and remove() function is used to remove complete div element.
Description:
In previous articles I explained 8 best audio player plugin examples, jQuery video player plugin examples, jQuery Hover dropdown menu, jQuery bouncing menu example and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery empty() function and remove() function with examples.
In previous articles I explained 8 best audio player plugin examples, jQuery video player plugin examples, jQuery Hover dropdown menu, jQuery bouncing menu example and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery empty() function and remove() function with examples.
By using empty() function we can remove inside content of div element and remove() function will remove complete
div element for that we need to write the code like as shown below