<?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>JQuery Not Last Demo &#8211; Sibeesh Passion</title>
	<atom:link href="https://www.sibeeshpassion.com/tag/jquery-not-last-demo/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Fri, 17 Jul 2015 12:29:56 +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>JQuery Not Last Demo &#8211; Sibeesh Passion</title>
	<link>https://www.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>JQuery Not Last Demo</title>
		<link>https://www.sibeeshpassion.com/jquery-not-last-demo/</link>
					<comments>https://www.sibeeshpassion.com/jquery-not-last-demo/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sun, 31 May 2015 11:57:38 +0000</pubDate>
				<category><![CDATA[JQuery]]></category>
		<category><![CDATA[JQuery Not Last Demo]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=2841</guid>

					<description><![CDATA[Introduction Today I came to work on a requirement of selecting the entire li from a ul but not the last one. So, I thought to share that info with you. Hope you will like it. Using the code You can see the jsfiddle here: JSFIDDLE. Here I have ul list items as follows; [html] &#60;ul&#62; &#60;li&#62;Sibeesh&#60;/li&#62; &#60;li&#62;Sibi&#60;/li&#62; &#60;li&#62;SibeesPassion&#60;/li&#62; &#60;li&#62;Buddy&#60;/li&#62; &#60;li&#62;NA&#60;/li&#62; &#60;/ul&#62; &#60;ul&#62; &#60;li&#62;Sibeesh&#60;/li&#62; &#60;li&#62;Sibi&#60;/li&#62; &#60;li&#62;SibeesPassion&#60;/li&#62; &#60;li&#62;Buddy&#60;/li&#62; &#60;li&#62;NA&#60;/li&#62; &#60;/ul&#62; &#60;ul&#62; &#60;li&#62;Sibeesh&#60;/li&#62; &#60;li&#62;Sibi&#60;/li&#62; &#60;li&#62;SibeesPassion&#60;/li&#62; &#60;li&#62;Buddy&#60;/li&#62; &#60;li&#62;NA&#60;/li&#62; &#60;/ul&#62; [/html] In that list I have mentioned my nick names , please be noted that I have mentioned the last li as NA, which [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>Today I came to work on a requirement of selecting the entire li from a ul but not the last one. So, I thought to share that info with you. Hope you will like it.</p>
<p><strong>Using the code</strong></p>
<p>You can see the jsfiddle here: <a href="http://jsfiddle.net/Sibeeshvenu/qmVdb/43/">JSFIDDLE</a>. </p>
<p>Here I have ul list items as follows;<br />
[html]<br />
&lt;ul&gt;<br />
   &lt;li&gt;Sibeesh&lt;/li&gt;<br />
   &lt;li&gt;Sibi&lt;/li&gt;<br />
   &lt;li&gt;SibeesPassion&lt;/li&gt;<br />
   &lt;li&gt;Buddy&lt;/li&gt;<br />
   &lt;li&gt;NA&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;ul&gt;<br />
   &lt;li&gt;Sibeesh&lt;/li&gt;<br />
   &lt;li&gt;Sibi&lt;/li&gt;<br />
   &lt;li&gt;SibeesPassion&lt;/li&gt;<br />
   &lt;li&gt;Buddy&lt;/li&gt;<br />
   &lt;li&gt;NA&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;ul&gt;<br />
   &lt;li&gt;Sibeesh&lt;/li&gt;<br />
   &lt;li&gt;Sibi&lt;/li&gt;<br />
   &lt;li&gt;SibeesPassion&lt;/li&gt;<br />
   &lt;li&gt;Buddy&lt;/li&gt;<br />
   &lt;li&gt;NA&lt;/li&gt;<br />
&lt;/ul&gt;<br />
[/html]</p>
<p>In that list I have mentioned my nick names , please be noted that I have mentioned the last li as NA, which means I don’t want the JQuery selector to select that particular li item.</p>
<p>Here I am appending “&#8211;My Nick Name” to the li items, except to the last one.<br />
[js]<br />
$(&#8216;ul li:not(:last-child)&#8217;).append(&quot; &#8211;My Nick Name &quot;);<br />
[/js]</p>
<p>So here is my output</p>
<p><strong>Output</strong><br />
[html]<br />
 Sibeesh &#8211;My Nick Name<br />
Sibi &#8211;My Nick Name<br />
SibeesPassion &#8211;My Nick Name<br />
Buddy &#8211;My Nick Name<br />
NA<br />
Sibeesh &#8211;My Nick Name<br />
Sibi &#8211;My Nick Name<br />
SibeesPassion &#8211;My Nick Name<br />
Buddy &#8211;My Nick Name<br />
NA<br />
Sibeesh &#8211;My Nick Name<br />
Sibi &#8211;My Nick Name<br />
SibeesPassion &#8211;My Nick Name<br />
Buddy &#8211;My Nick Name<br />
NA<br />
[/html]</p>
<p><strong>Points of Interest</strong><br />
JQuery</p>
<p><strong>History</strong><br />
1st Version: 12-12-2014</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sibeeshpassion.com/jquery-not-last-demo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
