<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Handling Nested Clicks with jQuery Revisited</title>
	<atom:link href="http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/</link>
	<description>AJAX Development, News, Techniques &#38; More</description>
	<lastBuildDate>Tue, 24 Jan 2012 01:39:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: dhongki</title>
		<link>http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/comment-page-1/#comment-25295</link>
		<dc:creator>dhongki</dc:creator>
		<pubDate>Sat, 18 Sep 2010 14:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/#comment-25295</guid>
		<description>the page seems has a problem displaying message with tags

returning false doesnt resolve my issue…
in my example alert message return same value;

html ex.
a div with id=explorer
and 2 div under it with class=folder;
the first div with id=folder1, and the 2nd div with id=folder2

jquery

$(“#explorer”).bind(
‘contextmenu’,
function(){
alert($(this).attr(‘id’));
return false;
}
);

$(“.folder”).bind(
‘contextmenu’,
function(){
alert($(this).attr(‘id’));
return false;
}
);</description>
		<content:encoded><![CDATA[<p>the page seems has a problem displaying message with tags</p>
<p>returning false doesnt resolve my issue…<br />
in my example alert message return same value;</p>
<p>html ex.<br />
a div with id=explorer<br />
and 2 div under it with class=folder;<br />
the first div with id=folder1, and the 2nd div with id=folder2</p>
<p>jquery</p>
<p>$(“#explorer”).bind(<br />
‘contextmenu’,<br />
function(){<br />
alert($(this).attr(‘id’));<br />
return false;<br />
}<br />
);</p>
<p>$(“.folder”).bind(<br />
‘contextmenu’,<br />
function(){<br />
alert($(this).attr(‘id’));<br />
return false;<br />
}<br />
);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhongki</title>
		<link>http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/comment-page-1/#comment-25294</link>
		<dc:creator>dhongki</dc:creator>
		<pubDate>Sat, 18 Sep 2010 14:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/#comment-25294</guid>
		<description>returning false doesnt resolve my issue…
in my example alert message return same value;

html ex.
1. &#039;&#039;
2. &#039;folder 1&#039;
3. &#039; folder 2&#039;
4. &#039;&#039;

jquery

$(“#explorer”).bind(
‘contextmenu’,
function(){
alert($(this).attr(‘id’));
return false;
}
);

$(“.folder”).bind(
‘contextmenu’,
function(){
alert($(this).attr(‘id’));
return false;
}
);</description>
		<content:encoded><![CDATA[<p>returning false doesnt resolve my issue…<br />
in my example alert message return same value;</p>
<p>html ex.<br />
1. &#8221;<br />
2. &#8216;folder 1&#8242;<br />
3. &#8216; folder 2&#8242;<br />
4. &#8221;</p>
<p>jquery</p>
<p>$(“#explorer”).bind(<br />
‘contextmenu’,<br />
function(){<br />
alert($(this).attr(‘id’));<br />
return false;<br />
}<br />
);</p>
<p>$(“.folder”).bind(<br />
‘contextmenu’,<br />
function(){<br />
alert($(this).attr(‘id’));<br />
return false;<br />
}<br />
);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dhongki</title>
		<link>http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/comment-page-1/#comment-25293</link>
		<dc:creator>dhongki</dc:creator>
		<pubDate>Sat, 18 Sep 2010 14:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/#comment-25293</guid>
		<description>returning false doesnt resolve my issue...
in my example alert message return same value;

html ex.

   folder 1
   folder 2


jquery

$(&quot;#explorer&quot;).bind(
&#039;contextmenu&#039;,
function(){
     alert($(this).attr(&#039;id&#039;));
     return false;
}
);

$(&quot;.folder&quot;).bind(
&#039;contextmenu&#039;,
function(){
     alert($(this).attr(&#039;id&#039;));
     return false;
}
);</description>
		<content:encoded><![CDATA[<p>returning false doesnt resolve my issue&#8230;<br />
in my example alert message return same value;</p>
<p>html ex.</p>
<p>   folder 1<br />
   folder 2</p>
<p>jquery</p>
<p>$(&#8220;#explorer&#8221;).bind(<br />
&#8216;contextmenu&#8217;,<br />
function(){<br />
     alert($(this).attr(&#8216;id&#8217;));<br />
     return false;<br />
}<br />
);</p>
<p>$(&#8220;.folder&#8221;).bind(<br />
&#8216;contextmenu&#8217;,<br />
function(){<br />
     alert($(this).attr(&#8216;id&#8217;));<br />
     return false;<br />
}<br />
);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ketan Solanki</title>
		<link>http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/comment-page-1/#comment-9684</link>
		<dc:creator>Ketan Solanki</dc:creator>
		<pubDate>Wed, 29 Jul 2009 20:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/#comment-9684</guid>
		<description>Returning false fixed it for me as well.</description>
		<content:encoded><![CDATA[<p>Returning false fixed it for me as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felix H. Cat</title>
		<link>http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/comment-page-1/#comment-8150</link>
		<dc:creator>Felix H. Cat</dc:creator>
		<pubDate>Mon, 15 Jun 2009 05:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/#comment-8150</guid>
		<description>Yeah same here... returning false resolved my issue.</description>
		<content:encoded><![CDATA[<p>Yeah same here&#8230; returning false resolved my issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/comment-page-1/#comment-2627</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Thu, 25 Sep 2008 14:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.ajaxbestiary.com/2007/11/28/handling-nested-clicks-with-jquery-revisited/#comment-2627</guid>
		<description>So what&#039;s wrong with simply returning false from the nested div&#039;s click event?  (I like your solution, but then I found that simply returning false resolves my issue.)</description>
		<content:encoded><![CDATA[<p>So what&#8217;s wrong with simply returning false from the nested div&#8217;s click event?  (I like your solution, but then I found that simply returning false resolves my issue.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

