<?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"
	>
<channel>
	<title>Comments on: DOMAssistant 2.5.5 released, with improved event handling, replaceClass and end methods</title>
	<atom:link href="http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/</link>
	<description>Web development and Internet trends</description>
	<pubDate>Thu, 20 Nov 2008 12:26:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182828</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Fri, 11 Jan 2008 23:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182828</guid>
		<description>chenghong,

Ah, you're absolutely right. It's just unnecessary, and actually plain wrong, to include all the parameters within a POST request.

I've updated the code and released a new fix version: &lt;a href="http://www.robertnyman.com/2008/01/12/domassistant-256-released-ajax-module-post-method-has-been-fixed/" rel="nofollow"&gt;DOMAssistant 2.5.6 released - AJAX module post method has been fixed&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>chenghong,</p>
<p>Ah, you&#8217;re absolutely right. It&#8217;s just unnecessary, and actually plain wrong, to include all the parameters within a POST request.</p>
<p>I&#8217;ve updated the code and released a new fix version: <a href="http://www.robertnyman.com/2008/01/12/domassistant-256-released-ajax-module-post-method-has-been-fixed/" rel="nofollow">DOMAssistant 2.5.6 released - <acronym title="Asynchronous Javascript and XML">AJAX</acronym> module post method has been fixed</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chenghong</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182616</link>
		<dc:creator>chenghong</dc:creator>
		<pubDate>Fri, 11 Jan 2008 18:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182616</guid>
		<description>Just another thing (I should have said this earlier, sorry), you should probably change this line
&lt;code&gt;XMLHttp.open(method, url, true);&lt;/code&gt;
such that &lt;code&gt;params[0]&lt;/code&gt; instead of &lt;code&gt;url&lt;/code&gt; is sent for 'post' method.  

The current way still works for short params, but you will essentially be  sending over GET as well as POST data in one request. For requests with extremely long params (which is the reason why POST is being used), it might break.</description>
		<content:encoded><![CDATA[<p>Just another thing (I should have said this earlier, sorry), you should probably change this line<br />
<code>XMLHttp.open(method, <acronym title="Uniform Resource Locator">URL</acronym>, true);</code><br />
such that <code>params[0]</code> instead of <code><acronym title="Uniform Resource Locator">URL</acronym></code> is sent for &#8216;post&#8217; method.  </p>
<p>The current way still works for short params, but you will essentially be  sending over GET as well as POST data in one request. For requests with extremely long params (which is the reason why POST is being used), it might break.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182234</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Fri, 11 Jan 2008 09:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182234</guid>
		<description>Doug,

No problem, I should have done it before.

chenghong,

Thanks!
I appreciate you letting me know! It was ok in my code repository, but in the offered download, it was initially wrong. When I tried to fix that, Google code mangled the end of the file again.

Therefore, I changed the namestandard (something I've wanted to do anyway) so that there's a dot (.) instead of a hyphen (.) in the file name, i.e. DOMAssistantComplete.2.2.5.js instead of DOMAssistantComplete-2.2.5.js.

For future downloads, this should never be a problem anyway. Lesson learned: never try to update a file with the same filename; instead, use new names for modified files.

And, you're absolutely right about what's posted in the post request, and I've seen to that.

Thanks for your help!</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>No problem, I should have done it before.</p>
<p>chenghong,</p>
<p>Thanks!<br />
I appreciate you letting me know! It was ok in my code repository, but in the offered download, it was initially wrong. When I tried to fix that, Google code mangled the end of the file again.</p>
<p>Therefore, I changed the namestandard (something I&#8217;ve wanted to do anyway) so that there&#8217;s a dot (.) instead of a hyphen (.) in the file name, i.e. DOMAssistantComplete.2.2.5.js instead of DOMAssistantComplete-2.2.5.js.</p>
<p>For future downloads, this should never be a problem anyway. Lesson learned: never try to update a file with the same filename; instead, use new names for modified files.</p>
<p>And, you&#8217;re absolutely right about what&#8217;s posted in the post request, and I&#8217;ve seen to that.</p>
<p>Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chenghong</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182004</link>
		<dc:creator>chenghong</dc:creator>
		<pubDate>Fri, 11 Jan 2008 03:13:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-182004</guid>
		<description>Congrats on the new release!

You may want to check the 'complete' file. It is missing the DOMAssistant.Load module.

Also, shouldn't the last line in the makeCall function be
&lt;code&gt;XMLHttp.send((method==="GET")? null : params[1]);&lt;/code&gt;
?</description>
		<content:encoded><![CDATA[<p>Congrats on the new release!</p>
<p>You may want to check the &#8216;complete&#8217; file. It is missing the DOMAssistant.Load module.</p>
<p>Also, shouldn&#8217;t the last line in the makeCall function be<br />
<code>XMLHttp.send((method==="GET")? null : params[1]);</code><br />
?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181512</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 10 Jan 2008 16:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181512</guid>
		<description>Cool. Thanks!</description>
		<content:encoded><![CDATA[<p>Cool. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181481</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Thu, 10 Jan 2008 16:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181481</guid>
		<description>Doug,

Thanks! Sloppy me.

Yes, the POST method would indeed be just a little bit more code. When you mentioned it, I think I really should've added it in this version. Therefore, I just coded it together and uploaded a new version where every element and the &lt;code&gt;DOMAssistant.AJAX&lt;/code&gt; object also has a &lt;code&gt;post&lt;/code&gt; method.

This post (above) is updated with more info.</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>Thanks! Sloppy me.</p>
<p>Yes, the POST method would indeed be just a little bit more code. When you mentioned it, I think I really should&#8217;ve added it in this version. Therefore, I just coded it together and uploaded a new version where every element and the <code>DOMAssistant.AJAX</code> object also has a <code>post</code> method.</p>
<p>This post (above) is updated with more info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bram.us &#187; [javascript] DOMAssistant 2.5.5 released</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181412</link>
		<dc:creator>Bram.us &#187; [javascript] DOMAssistant 2.5.5 released</dc:creator>
		<pubDate>Thu, 10 Jan 2008 14:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181412</guid>
		<description>[...] Nymand has released DOMAssistant 2.5.5 , with &#8220;improved event handling, replaceClass and end methods.&#8221; Anyone know if this end() function is available in jQuery? If not, then I suggest [...]</description>
		<content:encoded><![CDATA[<p>[...] Nymand has released DOMAssistant 2.5.5 , with &ldquo;improved event handling, replaceClass and end methods.&rdquo; Anyone know if this end() function is available in jQuery? If not, then I suggest [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181405</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 10 Jan 2008 14:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2008/01/10/domassistant-255-released-with-improved-event-handling-replaceclass-and-end-methods/#comment-181405</guid>
		<description>Hey, there's a typo in one of your examples: &lt;code&gt;evt.evtTarget.getAttribute&lt;/code&gt; should be &lt;code&gt;evt.eventTarget.getAttribute&lt;/code&gt;

I like the AJAX header you send with AJAX calls! I've already found it useful.

Still wish there was a POST method in AJAX for &lt;a href="http://www.w3.org/2001/tag/doc/whenToUseGet.html" rel="nofollow"&gt;unsafe interactions&lt;/a&gt;, though. It could even be an extra parameter like &lt;code&gt;.get(url, callBack, {method : "POST"})&lt;/code&gt;. That wouldn't increase the code TOO much, would it?</description>
		<content:encoded><![CDATA[<p>Hey, there&#8217;s a typo in one of your examples: <code>evt.evtTarget.getAttribute</code> should be <code>evt.eventTarget.getAttribute</code></p>
<p>I like the <acronym title="Asynchronous Javascript and XML">AJAX</acronym> header you send with <acronym title="Asynchronous Javascript and XML">AJAX</acronym> calls! I&#8217;ve already found it useful.</p>
<p>Still wish there was a POST method in <acronym title="Asynchronous Javascript and XML">AJAX</acronym> for <a href="http://www.w3.org/2001/tag/doc/whenToUseGet.html" rel="nofollow">unsafe interactions</a>, though. It could even be an extra parameter like <code>.get(<acronym title="Uniform Resource Locator">URL</acronym>, callBack, {method : "POST"})</code>. That wouldn&#8217;t increase the code TOO much, would it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
