<?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 for my dog boris</title>
	<atom:link href="http://www.mydogboris.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mydogboris.com</link>
	<description>perspectives from a hands on technology executive</description>
	<lastBuildDate>Fri, 04 Dec 2009 16:38:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Drools JBoss Rules 5.0 Developer&#8217;s Guide &#8211; Book Review by Michal Bali</title>
		<link>http://www.mydogboris.com/2009/12/drools-jboss-rules-5-0-developers-guide-book-review/comment-page-1/#comment-17</link>
		<dc:creator>Michal Bali</dc:creator>
		<pubDate>Fri, 04 Dec 2009 16:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=76#comment-17</guid>
		<description>Hi Dan, Thank you for this informative review !
Best regards, Michal</description>
		<content:encoded><![CDATA[<p>Hi Dan, Thank you for this informative review !<br />
Best regards, Michal</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by Dan Hayes</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-16</link>
		<dc:creator>Dan Hayes</dc:creator>
		<pubDate>Tue, 01 Dec 2009 21:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-16</guid>
		<description>I assume you mean changes to [hidden] field values made via javascript.  Otherwise, how would a user directly change a hidden field?  It is my understanding that modifications to the DOM element made in javascript do NOT trigger events bound via jQuery.  I just tested this myself.

Perhaps I am not understanding your question.</description>
		<content:encoded><![CDATA[<p>I assume you mean changes to [hidden] field values made via javascript.  Otherwise, how would a user directly change a hidden field?  It is my understanding that modifications to the DOM element made in javascript do NOT trigger events bound via jQuery.  I just tested this myself.</p>
<p>Perhaps I am not understanding your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by Mark</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-15</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 01 Dec 2009 15:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-15</guid>
		<description>I only want to detect changes in fields that are not hidden - how would I do that?</description>
		<content:encoded><![CDATA[<p>I only want to detect changes in fields that are not hidden &#8211; how would I do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by Nora Brown</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-11</link>
		<dc:creator>Nora Brown</dc:creator>
		<pubDate>Sun, 22 Nov 2009 16:58:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-11</guid>
		<description>Thanks for this, it&#039;s exactly what I was looking for, to use in a theme for the CMS Textpattern, to show whether changes to an article have been saved or not. Isn&#039;t JQuery the bomb?</description>
		<content:encoded><![CDATA[<p>Thanks for this, it&#8217;s exactly what I was looking for, to use in a theme for the CMS Textpattern, to show whether changes to an article have been saved or not. Isn&#8217;t JQuery the bomb?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by admin</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-9</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 18 Nov 2009 18:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-9</guid>
		<description>Now I understand your issue.  What is probably happening is the link is not being &quot;bound&quot; during page load because it is hidden.  You may want to investigate the use of the &quot;live&quot; event described &lt;a href=&quot;http://docs.jquery.com/Events/live&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.  It was added in 1.3 and it will &quot;rebind&quot; the event (in this case &quot;click&quot;).  The important difference is that the function will bind to any current AND FUTURE elements on the page.  Since you are effectively adding the element (through visibility), this is what you need.  Let me know how that works out.</description>
		<content:encoded><![CDATA[<p>Now I understand your issue.  What is probably happening is the link is not being &#8220;bound&#8221; during page load because it is hidden.  You may want to investigate the use of the &#8220;live&#8221; event described <a href="http://docs.jquery.com/Events/live" rel="nofollow">here</a>.  It was added in 1.3 and it will &#8220;rebind&#8221; the event (in this case &#8220;click&#8221;).  The important difference is that the function will bind to any current AND FUTURE elements on the page.  Since you are effectively adding the element (through visibility), this is what you need.  Let me know how that works out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by Andreas</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-8</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 18 Nov 2009 17:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-8</guid>
		<description>Hi again!

Found out that if I use .live instead of .bind it works perfectly.

This is good if you use AJAX to fetch some content that contains links with the class ‘navigation_link’. otherwise it wont work.


Also I changed the .attr(&quot;disabled&quot;, false); to .removeAttr(&#039;disabled&#039;);
because I use disabled=&quot;disabled&quot;.

Thanks again for the script.</description>
		<content:encoded><![CDATA[<p>Hi again!</p>
<p>Found out that if I use .live instead of .bind it works perfectly.</p>
<p>This is good if you use AJAX to fetch some content that contains links with the class ‘navigation_link’. otherwise it wont work.</p>
<p>Also I changed the .attr(&#8220;disabled&#8221;, false); to .removeAttr(&#8216;disabled&#8217;);<br />
because I use disabled=&#8221;disabled&#8221;.</p>
<p>Thanks again for the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by Andreas</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-6</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-6</guid>
		<description>Hi!

Thanks for the quick answer. Appriciate it alot. I will try to be more clear in my question:
I have a &quot;hidden&quot; &lt;a href rel=&quot;nofollow&quot;&gt;link on my page with the  class ‘navigation_link’. If i click on a speciffic image, the &quot;hidden&quot; link appears through jquery/js in a div that previously was empty. Lets say that the link is shown, and I edit the form. If I then click the link, the confirm window does not appear. If i click on any other link on the page, the window appear.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Thanks for the quick answer. Appriciate it alot. I will try to be more clear in my question:<br />
I have a &#8220;hidden&#8221; <a href rel="nofollow">link on my page with the  class ‘navigation_link’. If i click on a speciffic image, the &#8220;hidden&#8221; link appears through jquery/js in a div that previously was empty. Lets say that the link is shown, and I edit the form. If I then click the link, the confirm window does not appear. If i click on any other link on the page, the window appear.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by admin</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-5</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 18 Nov 2009 13:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-5</guid>
		<description>If I understand your question... when you change the contents of an element via Javascript/jQuery you would need to also do something to &#039;dirty the form&#039; via code.  I had to do this recently when I had a simple link that cleared the value of a hidden field on the form.  I wanted this to make the form &#039;dirty&#039; (if the user clicked this link) so I had to call &#039;handleFormChange()&#039; in the jQuery click event handler.  This &#039;enabled&#039; my save/update button and set a javascript variable &#039;formChanged&#039; equal to &#039;true&#039;.  There may be a more elegant way of attaching listeners to an element and testing the contents automatically but I didn&#039;t feel the solution warranted anything more sophisticated.  Plus, I liked having control over when to mark the form as dirty.  If this doesn&#039;t answer your question, please let me know.</description>
		<content:encoded><![CDATA[<p>If I understand your question&#8230; when you change the contents of an element via Javascript/jQuery you would need to also do something to &#8216;dirty the form&#8217; via code.  I had to do this recently when I had a simple link that cleared the value of a hidden field on the form.  I wanted this to make the form &#8216;dirty&#8217; (if the user clicked this link) so I had to call &#8216;handleFormChange()&#8217; in the jQuery click event handler.  This &#8216;enabled&#8217; my save/update button and set a javascript variable &#8216;formChanged&#8217; equal to &#8216;true&#8217;.  There may be a more elegant way of attaching listeners to an element and testing the contents automatically but I didn&#8217;t feel the solution warranted anything more sophisticated.  Plus, I liked having control over when to mark the form as dirty.  If this doesn&#8217;t answer your question, please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using JQuery &#8216;data&#8217; feature to detect form changes by Andreas</title>
		<link>http://www.mydogboris.com/2009/10/using-jquery-data-feature-to-detect-form-changes/comment-page-1/#comment-4</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 18 Nov 2009 12:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydogboris.com/?p=60#comment-4</guid>
		<description>Hi!

Excellent example. Just what i was looking for. Have one tiny question though:

If i populate a div with a link that has the class  ‘navigation_link&#039; through jQuery and later click on that link, the script does not check if the form has changed. All other links on the page work as it should, but not the one that has been created with jQuery. (hope you understand what i mean).

Any thoughts?

thanks a million
/Andreas</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Excellent example. Just what i was looking for. Have one tiny question though:</p>
<p>If i populate a div with a link that has the class  ‘navigation_link&#8217; through jQuery and later click on that link, the script does not check if the form has changed. All other links on the page work as it should, but not the one that has been created with jQuery. (hope you understand what i mean).</p>
<p>Any thoughts?</p>
<p>thanks a million<br />
/Andreas</p>
]]></content:encoded>
	</item>
</channel>
</rss>
