<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Find An Inner Div Which Has A Particular Attribute &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/tag/find-an-inner-div-which-has-a-particular-attribute/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Fri, 14 Aug 2015 08:52:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Find An Inner Div Which Has A Particular Attribute &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Find An Inner Div Which Has A Particular Attribute And Remove</title>
		<link>https://www.sibeeshpassion.com/find-an-inner-div-which-has-a-particular-attribute-and-remove/</link>
					<comments>https://www.sibeeshpassion.com/find-an-inner-div-which-has-a-particular-attribute-and-remove/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Fri, 14 Aug 2015 08:52:49 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[Find An Inner Div Which Has A Particular Attribute]]></category>
		<category><![CDATA[Find Attribute]]></category>
		<category><![CDATA[Find Element With Attribute Value]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=9541</guid>

					<description><![CDATA[In this code, we will find an inner div which has a particular attribute and delete the same. Using The Code Consider following is my HTML [html] &#60;div class=&#34;dragDiv&#34;&#62; &#60;div id=&#34;dragDivInner&#34;&#62; &#60;div myid=&#34;1&#34; class=&#34;droppable&#34; myval=&#34;I&#34;&#62;&#60;/div&#62; &#60;div myid=&#34;2&#34; class=&#34;droppable&#34;&#62;&#60;/div&#62; &#60;/div&#62; &#60;/div&#62; [/html] And what if, I need to find out a div which has attribute value &#8216;myid&#8217;=2 dynamically? [js] $(&#34;.dragDiv div[myid=&#34; + ui.item.attr(&#8216;myid&#8217;) + &#34;]&#34;).remove(); [/js] Here ui.item.attr(&#8216;myid&#8217;) is the attribute value I am getting dynamically. Please see other code snippets here: Code-Snippets Kindest Regards Sibeesh Venu]]></description>
										<content:encoded><![CDATA[<p>In this code, we will find an inner div which has a particular attribute and delete the same.</p>
<p><strong>Using The Code</strong></p>
<p>Consider following is my HTML</p>
<p>[html]<br />
        &lt;div class=&quot;dragDiv&quot;&gt;<br />
            &lt;div id=&quot;dragDivInner&quot;&gt;<br />
                &lt;div myid=&quot;1&quot; class=&quot;droppable&quot; myval=&quot;I&quot;&gt;&lt;/div&gt;<br />
                &lt;div myid=&quot;2&quot; class=&quot;droppable&quot;&gt;&lt;/div&gt;<br />
             &lt;/div&gt;<br />
        &lt;/div&gt;<br />
[/html]</p>
<p>And what if, I need to find out a div which has attribute value &#8216;myid&#8217;=2 dynamically?</p>
<p>[js]<br />
  $(&quot;.dragDiv div[myid=&quot; + ui.item.attr(&#8216;myid&#8217;) + &quot;]&quot;).remove();<br />
[/js]</p>
<p>Here  ui.item.attr(&#8216;myid&#8217;) is the attribute value I am getting dynamically.</p>
<p>Please see other code snippets here: <a href="http://sibeeshpassion.com/category/code-snippets/" target="_blank">Code-Snippets</a></p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/find-an-inner-div-which-has-a-particular-attribute-and-remove/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
