<?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: .trigger()</title>
	<atom:link href="http://api.jquery.com/trigger/feed/" rel="self" type="application/rss+xml" />
	<link>http://api.jquery.com/trigger/</link>
	<description>jQuery API Reference</description>
	<lastBuildDate>Fri, 19 Aug 2011 09:06:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: salomvary</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-8668</link>
		<dc:creator>salomvary</dc:creator>
		<pubDate>Thu, 27 Jan 2011 20:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-8668</guid>
		<description>It should also be mentioned that events triggered on detached elements (not part of their ownerDocument&#039;s dom tree) fire event handlers attached to their ownerDocument despite the fact that ownerDocument is not on the element&#039;s &quot;parent chain&quot;.&lt;br&gt;&lt;br&gt;Example:&lt;br&gt;jQuery(document).bind(&#039;foo&#039;, function() { console.log(&#039;foo triggered on document&#039;); });&lt;br&gt;jQuery(&#039;&lt;div&gt;&#039;).trigger(&#039;insert&#039;);&lt;br&gt;&lt;br&gt;Console output:&lt;br&gt;foo triggered on document&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>It should also be mentioned that events triggered on detached elements (not part of their ownerDocument&#39;s dom tree) fire event handlers attached to their ownerDocument despite the fact that ownerDocument is not on the element&#39;s &#8220;parent chain&#8221;.</p>
<p>Example:<br />jQuery(document).bind(&#39;foo&#39;, function() { console.log(&#39;foo triggered on document&#39;); });<br />jQuery(&#39;&lt;div&gt;&#39;).trigger(&#39;insert&#39;);</p>
<p>Console output:<br />foo triggered on document&lt;/div&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asd</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-8610</link>
		<dc:creator>Asd</dc:creator>
		<pubDate>Wed, 26 Jan 2011 03:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-8610</guid>
		<description>Apparently .trigger(&#039;submit&#039;) wont work if you have the id OR the name set to &quot;submit&quot; for a form element. This differs from other cases because they all said that only the name attribute cant have that value.</description>
		<content:encoded><![CDATA[<p>Apparently .trigger(&#39;submit&#39;) wont work if you have the id OR the name set to &#8220;submit&#8221; for a form element. This differs from other cases because they all said that only the name attribute cant have that value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesper Veldhuizen</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-8285</link>
		<dc:creator>Jesper Veldhuizen</dc:creator>
		<pubDate>Wed, 12 Jan 2011 15:33:55 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-8285</guid>
		<description>$(&#039;#btnChapter_2&#039;).trigger(&#039;click&#039;);</description>
		<content:encoded><![CDATA[<p>$(&#39;#btnChapter_2&#39;).trigger(&#39;click&#39;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: King_wgj</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-8029</link>
		<dc:creator>King_wgj</dc:creator>
		<pubDate>Fri, 31 Dec 2010 07:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-8029</guid>
		<description>hi , everyone,I have a question about trigger and javascript &#039;winow.open(..);&lt;br&gt;&lt;br&gt;if I use trigger to call a funtion which contains &#039;window.open(...), it doesn&#039;t work in IE6,but it works in FireFox. to be surprised ,it works both using IE and Firefox when I click the button using mouse. how to solve this problem ?</description>
		<content:encoded><![CDATA[<p>hi , everyone,I have a question about trigger and javascript &#39;winow.open(..);</p>
<p>if I use trigger to call a funtion which contains &#39;window.open(&#8230;), it doesn&#39;t work in IE6,but it works in FireFox. to be surprised ,it works both using IE and Firefox when I click the button using mouse. how to solve this problem ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: King_wgj</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-7855</link>
		<dc:creator>King_wgj</dc:creator>
		<pubDate>Thu, 30 Dec 2010 23:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-7855</guid>
		<description>hi , everyone,I have a question about trigger and javascript &#039;winow.open(..);&lt;br&gt;&lt;br&gt;if I use trigger to call a funtion which contains &#039;window.open(...), it doesn&#039;t work in IE6,but it works in FireFox. to be surprised ,it works both using IE and Firefox when I click the button using mouse. how to solve this problem ?</description>
		<content:encoded><![CDATA[<p>hi , everyone,I have a question about trigger and javascript &#39;winow.open(..);</p>
<p>if I use trigger to call a funtion which contains &#39;window.open(&#8230;), it doesn&#39;t work in IE6,but it works in FireFox. to be surprised ,it works both using IE and Firefox when I click the button using mouse. how to solve this problem ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrbinky3000</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-7838</link>
		<dc:creator>mrbinky3000</dc:creator>
		<pubDate>Wed, 29 Dec 2010 23:44:49 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-7838</guid>
		<description>I have a question.  I have 8 buttons that have unique incrementing id&#039;s and a shared class.&lt;br&gt;&lt;br&gt;&lt;button class=&quot;btnChapter&quot; id=&quot;btnChapter_1&quot; value=&quot;1&quot;&gt;1&lt;/button&gt;&lt;br&gt;&lt;button class=&quot;btnChapter&quot; id=&quot;btnChapter_2&quot; value=&quot;2&quot;&gt;2&lt;/button&gt;&lt;br&gt;&lt;button class=&quot;btnChapter&quot; id=&quot;btnChapter_3&quot; value=&quot;3&quot;&gt;3&lt;/button&gt;&lt;br&gt;...&lt;br&gt;&lt;br&gt;In order to prevent me from duplicating code, I bound a click event to the btnChapter class.&lt;br&gt;&lt;br&gt;$(&#039;.btnChapter&#039;).click(function(){  .. do stuff .. });&lt;br&gt;&lt;br&gt;How do I trigger() only #btnChapter_2?  The following doesn&#039;t seem to work.&lt;br&gt;&lt;br&gt;$(&#039;#btnChapter_2&#039;).click()  does nothing.</description>
		<content:encoded><![CDATA[<p>I have a question.  I have 8 buttons that have unique incrementing id&#39;s and a shared class.</p>
<p>&lt;button class=&#8221;btnChapter&#8221; id=&#8221;btnChapter_1&#8243; value=&#8221;1&#8243;&gt;1&lt;/button&gt;<br />&lt;button class=&#8221;btnChapter&#8221; id=&#8221;btnChapter_2&#8243; value=&#8221;2&#8243;&gt;2&lt;/button&gt;<br />&lt;button class=&#8221;btnChapter&#8221; id=&#8221;btnChapter_3&#8243; value=&#8221;3&#8243;&gt;3&lt;/button&gt;<br />&#8230;</p>
<p>In order to prevent me from duplicating code, I bound a click event to the btnChapter class.</p>
<p>$(&#39;.btnChapter&#39;).click(function(){  .. do stuff .. });</p>
<p>How do I trigger() only #btnChapter_2?  The following doesn&#39;t seem to work.</p>
<p>$(&#39;#btnChapter_2&#39;).click()  does nothing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: King_wgj</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-7710</link>
		<dc:creator>King_wgj</dc:creator>
		<pubDate>Wed, 22 Dec 2010 05:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-7710</guid>
		<description>I just used the function .trigger(&quot;click&quot;),but it doesnt work in IE6 ,but IE8 it works&lt;br&gt;&lt;br&gt;how to solve this probem ?</description>
		<content:encoded><![CDATA[<p>I just used the function .trigger(&#8220;click&#8221;),but it doesnt work in IE6 ,but IE8 it works</p>
<p>how to solve this probem ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bhargava Ch</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-7093</link>
		<dc:creator>Bhargava Ch</dc:creator>
		<pubDate>Fri, 19 Nov 2010 07:48:34 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-7093</guid>
		<description>Can any one help me Trigger() is not supporting in fire fox ? And please don&#039;t use any windows.href</description>
		<content:encoded><![CDATA[<p>Can any one help me Trigger() is not supporting in fire fox ? And please don&#39;t use any windows.href</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: badsyntax</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-6619</link>
		<dc:creator>badsyntax</dc:creator>
		<pubDate>Wed, 27 Oct 2010 08:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-6619</guid>
		<description>It won&#039;t be possible to adjust the target in the event passed into the trigger&#039;ed method. The target will always be the element you trigger&#039;ed. I&#039;ve tried all the methods described in this page to adjust the event target but had no luck. (It would be cool if we could change the event target, but I can&#039;t say much more without understanding the constaints.)</description>
		<content:encoded><![CDATA[<p>It won&#39;t be possible to adjust the target in the event passed into the trigger&#39;ed method. The target will always be the element you trigger&#39;ed. I&#39;ve tried all the methods described in this page to adjust the event target but had no luck. (It would be cool if we could change the event target, but I can&#39;t say much more without understanding the constaints.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rd</title>
		<link>http://api.jquery.com/trigger/comment-page-1/#comment-6536</link>
		<dc:creator>Rd</dc:creator>
		<pubDate>Fri, 22 Oct 2010 18:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://api.jquery.com/?p=420#comment-6536</guid>
		<description>Exactly as intended - hence the title &quot;Example: Clicks to button #2 also trigger a click for button #1.&quot;</description>
		<content:encoded><![CDATA[<p>Exactly as intended &#8211; hence the title &#8220;Example: Clicks to button #2 also trigger a click for button #1.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

