<?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: jQuery Plugin for ASP.net Ajax (jMsAjax)</title>
	<atom:link href="http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/</link>
	<description>All Things .Net and Me</description>
	<lastBuildDate>Tue, 06 Jul 2010 04:32:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Schotime</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-170</link>
		<dc:creator>Schotime</dc:creator>
		<pubDate>Fri, 27 Feb 2009 00:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-170</guid>
		<description>What errors are you getting?</description>
		<content:encoded><![CDATA[<p>What errors are you getting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bret</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-169</link>
		<dc:creator>bret</dc:creator>
		<pubDate>Thu, 26 Feb 2009 23:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-169</guid>
		<description>The new jQuery just rolled out 1.3.2 and I see that your plugin is for jQuery 1.0.  I was using it with jQuery 1.2.6 and it worked fine but after upgrading I am getting errors in IE.  Anyone else getting these errors.</description>
		<content:encoded><![CDATA[<p>The new jQuery just rolled out 1.3.2 and I see that your plugin is for jQuery 1.0.  I was using it with jQuery 1.2.6 and it worked fine but after upgrading I am getting errors in IE.  Anyone else getting these errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schotime</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-144</link>
		<dc:creator>Schotime</dc:creator>
		<pubDate>Thu, 12 Feb 2009 11:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-144</guid>
		<description>Thanks Daniel.
I will update the source and post include an unminified version tomorrow.
Cheers Mate.</description>
		<content:encoded><![CDATA[<p>Thanks Daniel.<br />
I will update the source and post include an unminified version tomorrow.<br />
Cheers Mate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-142</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 10 Feb 2009 18:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-142</guid>
		<description>The plugin doesn&#039;t seem to handle dates with a negative value in the constructor. In our case, we had a datetime that was default constructed. In javascript, this has the value of Date(-62135578800000), but the regex didn&#039;t pick up on it because of the negative sign, so it remained a string. We were then trying to perform date operations on string, and that&#039;s when things blew up.

The problem lies in the regular expression that is being used which doesn&#039;t take into account a negative sign. I added an optional negative sign in the regex:
a=/^\/Date\((-?[0-9]+)\)\/$/.exec(value);
instead of:
a=/^\/Date\(([0-9]+)\)\/$/.exec(value);

Also, would it be possible to publish a non-minified version of your code? You have probably one of the best plugins that we&#039;ve found and fixing any problems is much harder when you don&#039;t have the human-readable version.</description>
		<content:encoded><![CDATA[<p>The plugin doesn&#8217;t seem to handle dates with a negative value in the constructor. In our case, we had a datetime that was default constructed. In javascript, this has the value of Date(-62135578800000), but the regex didn&#8217;t pick up on it because of the negative sign, so it remained a string. We were then trying to perform date operations on string, and that&#8217;s when things blew up.</p>
<p>The problem lies in the regular expression that is being used which doesn&#8217;t take into account a negative sign. I added an optional negative sign in the regex:<br />
a=/^\/Date\((-?[0-9]+)\)\/$/.exec(value);<br />
instead of:<br />
a=/^\/Date\(([0-9]+)\)\/$/.exec(value);</p>
<p>Also, would it be possible to publish a non-minified version of your code? You have probably one of the best plugins that we&#8217;ve found and fixing any problems is much harder when you don&#8217;t have the human-readable version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eric</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-132</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Fri, 05 Dec 2008 15:35:59 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-132</guid>
		<description>Great plugin...

I noticed that in the example you are able to send a date and get a date back from the web service. It seems to be that the date you get back, is not a javascript date object but a string representation of the date. Is it possible to get an actual date back- or is there an easy way to convert this string representation of a date to a javascript date object.</description>
		<content:encoded><![CDATA[<p>Great plugin&#8230;</p>
<p>I noticed that in the example you are able to send a date and get a date back from the web service. It seems to be that the date you get back, is not a javascript date object but a string representation of the date. Is it possible to get an actual date back- or is there an easy way to convert this string representation of a date to a javascript date object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-33</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 30 Sep 2008 19:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-33</guid>
		<description>The date&#039;s are incorrectly given to the Web Service as the web service is expecting them to be relative to UTC.
It was fixed by amending:
return &#039;&quot;\\/Date(&#039; + (value.getTime()) + &#039;)\\/&quot;&#039;;
To:
return &#039;&quot;\\/Date(&#039; + (Date.UTC(value.getFullYear(), value.getMonth(), value.getDate())) + &#039;)\\/&quot;&#039;;

It would also be nice if you provided a non-minified version of the source code.</description>
		<content:encoded><![CDATA[<p>The date&#8217;s are incorrectly given to the Web Service as the web service is expecting them to be relative to UTC.<br />
It was fixed by amending:<br />
return &#8216;&#8221;\\/Date(&#8216; + (value.getTime()) + &#8216;)\\/&#8221;&#8216;;<br />
To:<br />
return &#8216;&#8221;\\/Date(&#8216; + (Date.UTC(value.getFullYear(), value.getMonth(), value.getDate())) + &#8216;)\\/&#8221;&#8216;;</p>
<p>It would also be nice if you provided a non-minified version of the source code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dataset, Datatable to Json &#124; Schotime.net</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-30</link>
		<dc:creator>Dataset, Datatable to Json &#124; Schotime.net</dc:creator>
		<pubDate>Sun, 27 Jul 2008 05:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-30</guid>
		<description>[...] jQuery Plugin for ASP.net Ajax (jMsAjax)  [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery Plugin for ASP.net Ajax (jMsAjax)  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-29</link>
		<dc:creator>jim</dc:creator>
		<pubDate>Sat, 19 Jul 2008 01:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-29</guid>
		<description>Schotime,

Awesome for laying the groundwork in getting this resolved. I love the simplicity of exposing ASP.NET WebMethod&#039;s and invoking them through the jQuery.ajax() functionality with the JSON dataType.

I thought utilizing the dataFilter functionality in the options for jQuery.ajax() proved to help solve the problem without writing a new plugin.

I still really like the incorporation of Crockford&#039;s json.org/json.js for pre-parsing the JSON string prior to evaluation during the ajax() call - but is that too much?

I have a writeup for the simple dataFilter function declaration: &lt;a href=&quot;http://www.overset.com/2008/07/18/simple-jquery-json-aspnet-webservice-datetime-support/&quot; rel=&quot;nofollow&quot;&gt;http://www.overset.com/2008/07/18/simple-jquery-json-aspnet-webservice-datetime-support/&lt;/a&gt;

Thanks again for helping to resolve this issue! Great work!</description>
		<content:encoded><![CDATA[<p>Schotime,</p>
<p>Awesome for laying the groundwork in getting this resolved. I love the simplicity of exposing ASP.NET WebMethod&#8217;s and invoking them through the jQuery.ajax() functionality with the JSON dataType.</p>
<p>I thought utilizing the dataFilter functionality in the options for jQuery.ajax() proved to help solve the problem without writing a new plugin.</p>
<p>I still really like the incorporation of Crockford&#8217;s json.org/json.js for pre-parsing the JSON string prior to evaluation during the ajax() call &#8211; but is that too much?</p>
<p>I have a writeup for the simple dataFilter function declaration: <a href="http://www.overset.com/2008/07/18/simple-jquery-json-aspnet-webservice-datetime-support/" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/www.overset.com/2008/07/18/simple-jquery-json-aspnet-webservice-datetime-support/?referer=');">http://www.overset.com/2008/07/18/simple-jquery-json-aspnet-webservice-datetime-support/</a></p>
<p>Thanks again for helping to resolve this issue! Great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery, AJAX, ASP.NET and Dates &#124; Schotime.net</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-24</link>
		<dc:creator>jQuery, AJAX, ASP.NET and Dates &#124; Schotime.net</dc:creator>
		<pubDate>Thu, 03 Jul 2008 22:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-24</guid>
		<description>[...] jQuery Plugin for ASP.net Ajax (jMsAjax)  [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery Plugin for ASP.net Ajax (jMsAjax)  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery Plugin for ASP.net Ajax (jMsAjax) - Adam Schroder</title>
		<link>http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/comment-page-1/#comment-22</link>
		<dc:creator>jQuery Plugin for ASP.net Ajax (jMsAjax) - Adam Schroder</dc:creator>
		<pubDate>Tue, 01 Jul 2008 13:29:48 +0000</pubDate>
		<guid isPermaLink="false">http://schotime.net/blog/index.php/2008/07/01/jquery-plugin-for-aspnet-ajax-jmsajax/#comment-22</guid>
		<description>[...] Click here to keep reading.... [...]</description>
		<content:encoded><![CDATA[<p>[...] Click here to keep reading&#8230;. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
