{"id":5405,"date":"2020-02-10T12:48:17","date_gmt":"2020-02-10T07:18:17","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=5405"},"modified":"2020-02-14T11:19:01","modified_gmt":"2020-02-14T05:49:01","slug":"jquery","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/jquery\/","title":{"rendered":"JQUERY | empty() and remove()"},"content":{"rendered":"\n<p>JQUERY | empty() and remove()<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Date: 10\/02\/2020<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Introduction:<\/h4>\n\n\n\n<p><strong>Empty:<\/strong><\/p>\n\n\n\n<p>    <strong> <\/strong>Jquery<strong> empty()<\/strong> and <strong>remove() <\/strong>methods are the jquery inbuilt methods, which are used to remove the HTML element and contents.<\/p>\n\n\n\n<p>     <strong>empty()<\/strong> &#8211; empty() method is used to remove all the child nodes from the content from the selected content.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n\t&lt;title&gt;&lt;\/title&gt;\n\t<a href=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js\">https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js<\/a> \n        &lt;script&gt; \n            $(document).ready(function() { \n                $(\"button\").click(function() { \n                    $(\"body\").empty(); \n                }); \n            }); \n        &lt;\/script&gt; \n&lt;\/head&gt;\n&lt;body style=\"background-color: yellow;\"&gt;\n\t&lt;div&gt;\n\t\t&lt;center&gt;\n\t\t\t&lt;h3&gt;Hello&lt;\/h3&gt;\n\t\t\t&lt;h3&gt;Jquery empty method&lt;\/h3&gt;\n\t\t    &lt;button&gt;click&lt;\/button&gt;\n\t\t&lt;\/center&gt;\n\t\t\n\t&lt;\/div&gt;\n\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n\n\n\n<p>Before clicking the button<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"486\" height=\"152\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png\" alt=\"\" data-id=\"5406\" data-full-url=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5406\" class=\"wp-image-5406\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png 486w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49-300x94.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>After clicking the button:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.21.47.png\" alt=\"\" class=\"wp-image-5407\" width=\"444\" height=\"180\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.21.47.png 414w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.21.47-300x122.png 300w\" sizes=\"auto, (max-width: 444px) 100vw, 444px\" \/><\/figure>\n\n\n\n<p><strong>Remove<\/strong>:<\/p>\n\n\n\n<p>     <strong>remove() <\/strong>used to remove the selected element from the document. It removes selected elements and also everything inside it.<\/p>\n\n\n\n<p>syntax:      $(selector).remove()&nbsp;&nbsp;<\/p>\n\n\n\n<p>A selector is an optional parameter, it used to specify one or more elements.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n\t&lt;title&gt;&lt;\/title&gt;\n\t<a href=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js\">https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.3.1\/jquery.min.js<\/a> \n        &lt;script&gt; \n            $(document).ready(function() { \n                $(\"button\").click(function() { \n                    $(\"p.test\").remove(); \n                }); \n            }); \n        &lt;\/script&gt; \n&lt;\/head&gt;\n&lt;body style=\"background-color: pink;\"&gt;\n\t&lt;center&gt;\n\t&lt;div class=\"mycon\"&gt;\n\t\t\t\n\t\t\t&lt;p&gt;Welcome&lt;\/p&gt;\n\t\t\t&lt;p class=\"test\"&gt;Remove this line&lt;\/p&gt;\n\t\t\t&lt;h3&gt;Hello&lt;\/h3&gt;\n\t\t\t&lt;h3&gt;Jquery empty method&lt;\/h3&gt;\n\t\t    &lt;button&gt;click&lt;\/button&gt;\n\t\t\n\t\t\n\t&lt;\/div&gt;\n\t\n&lt;\/center&gt;\n\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n\n\n\n<p>Before clicking the button:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"196\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-12.45.51.png\" alt=\"\" class=\"wp-image-5409\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-12.45.51.png 502w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-12.45.51-300x117.png 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/figure>\n\n\n\n<p>After clicking the button:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"442\" height=\"181\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-12.47.06.png\" alt=\"\" class=\"wp-image-5410\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-12.47.06.png 442w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-12.47.06-300x123.png 300w\" sizes=\"auto, (max-width: 442px) 100vw, 442px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Conclusion<\/h4>\n\n\n\n<p><br>Thanks for using pheonixsolutions.<br>If you like it, please share it with your friends. Comments are most welcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JQUERY | empty() and remove() Date: 10\/02\/2020 Introduction: Empty: Jquery empty() and remove() methods are the jquery inbuilt methods, which are used to remove the HTML element and contents. empty() &#8211; empty() method is used to remove all the child nodes from the content from the selected content. Before clicking&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/jquery\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">JQUERY | empty() and remove()<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[351,287],"tags":[752,751,753],"class_list":{"0":"post-5405","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-javascript","7":"category-javascriptjquery","8":"tag-empty","9":"tag-jquery","10":"tag-remove","11":"h-entry","13":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/jquery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"JQUERY | empty() and remove() Date: 10\/02\/2020 Introduction: Empty: Jquery empty() and remove() methods are the jquery inbuilt methods, which are used to remove the HTML element and contents. empty() &#8211; empty() method is used to remove all the child nodes from the content from the selected content. Before clicking&hellip; Continue Reading JQUERY | empty() and remove()\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/jquery\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-10T07:18:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-14T05:49:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"JQUERY | empty() and remove()\",\"datePublished\":\"2020-02-10T07:18:17+00:00\",\"dateModified\":\"2020-02-14T05:49:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/\"},\"wordCount\":124,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Screenshot-2020-02-10-at-11.20.49.png\",\"keywords\":[\"empty()\",\"jquery\",\"remove()\"],\"articleSection\":[\"Javascript\",\"Javascript\\\/jquery\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Screenshot-2020-02-10-at-11.20.49.png\",\"datePublished\":\"2020-02-10T07:18:17+00:00\",\"dateModified\":\"2020-02-14T05:49:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Screenshot-2020-02-10-at-11.20.49.png\",\"contentUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Screenshot-2020-02-10-at-11.20.49.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/jquery\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JQUERY | empty() and remove()\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/jquery\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"JQUERY | empty() and remove() Date: 10\/02\/2020 Introduction: Empty: Jquery empty() and remove() methods are the jquery inbuilt methods, which are used to remove the HTML element and contents. empty() &#8211; empty() method is used to remove all the child nodes from the content from the selected content. Before clicking&hellip; Continue Reading JQUERY | empty() and remove()","og_url":"https:\/\/pheonixsolutions.com\/blog\/jquery\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2020-02-10T07:18:17+00:00","article_modified_time":"2020-02-14T05:49:01+00:00","og_image":[{"url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"JQUERY | empty() and remove()","datePublished":"2020-02-10T07:18:17+00:00","dateModified":"2020-02-14T05:49:01+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/"},"wordCount":124,"commentCount":1,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png","keywords":["empty()","jquery","remove()"],"articleSection":["Javascript","Javascript\/jquery"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/jquery\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/","url":"https:\/\/pheonixsolutions.com\/blog\/jquery\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png","datePublished":"2020-02-10T07:18:17+00:00","dateModified":"2020-02-14T05:49:01+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/jquery\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/#primaryimage","url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png","contentUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2020\/02\/Screenshot-2020-02-10-at-11.20.49.png"},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/jquery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JQUERY | empty() and remove()"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/s7F4uM-jquery","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5405"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5405\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}