<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-20161</id>
	<title>Nabble - jQuery Dev List</title>
	<updated>2009-12-23T06:32:22Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/jQuery-Dev-List-f20161.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-Dev-List-f20161.html" />
	<subtitle type="html">&lt;a href=&quot;http://groups.google.com/group/jquery-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jQuery Dev List&lt;/a&gt;&amp;nbsp;- This mailing list centers around development of the jQuery library itself. Post here if you have questions about certain bugs, development with jQuery, features, or anything in the bug tracker or SVN. 
&lt;br&gt;&lt;br&gt;Use this forum to discuss your &lt;a href=&quot;http://www.jquery.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jQuery&lt;/a&gt;&amp;nbsp;projects. Share resources, information and tips, help newcomers and build-up your knowledge of this great JavaScript platform.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26902938</id>
	<title>Proposed fix for #5706 - .attr() fails with TypeError  when used on foreign elements, such as SVG</title>
	<published>2009-12-23T06:32:22Z</published>
	<updated>2009-12-23T06:32:22Z</updated>
	<author>
		<name>Richard D. Worth-2</name>
	</author>
	<content type="html">&lt;div&gt;Please review.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://dev.jquery.com/ticket/5706&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5706&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Ticket has full description as well as two patches on github, one for jQuery, one for Sizzle. Thanks.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;- Richard&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26902938&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26902938&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Proposed-fix-for--5706---.attr%28%29-fails-with-TypeError--when-used-on-foreign-elements%2C-such-as-SVG-tp26902938s27240p26902938.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26901544</id>
	<title>Re: jQuery require and script loaders</title>
	<published>2009-12-23T04:40:45Z</published>
	<updated>2009-12-23T04:40:45Z</updated>
	<author>
		<name>&quot;Cowboy&quot; Ben Alman</name>
	</author>
	<content type="html">Maybe I should start writing a dependency loading system... LOL
&lt;br&gt;&lt;br&gt;On Dec 22, 9:42 am, aHeckman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aaron.heckm...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Julian, dominoes is very nice. I like your flexible syntax for
&lt;br&gt;&amp;gt; ordering dependencies and how you allow your configuration of named
&lt;br&gt;&amp;gt; resources.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I too just finished a loader for jQuery but it has different goals in
&lt;br&gt;&amp;gt; mind. Namely, I wanted a loader that would do more than just
&lt;br&gt;&amp;gt; javascript. Many jQuery plugins and jQuery-ui components have css
&lt;br&gt;&amp;gt; stylesheet and image dependencies as well so I felt a good loader
&lt;br&gt;&amp;gt; should handle these too. It's still early but so far it's been useful.
&lt;br&gt;&amp;gt; You can check it out here:&lt;a href=&quot;http://github.com/aheckmann/jQuery.use&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/aheckmann/jQuery.use&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My vision is that we come together as a community and organize all of
&lt;br&gt;&amp;gt; the jQuery components / plugins under one umbrella, and be able to
&lt;br&gt;&amp;gt; dynamically serve all of them from a managed repo / CDN - thinkhttp://yui.yahooapis.com/combo?for the entire jQuery community.
&lt;br&gt;&amp;gt; jQuery.use is configurable to use a file concat service like YUIs
&lt;br&gt;&amp;gt; combo service.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; jQuery.use('jquery-ui-tabs', function ($) {
&lt;br&gt;&amp;gt;    $('.tabs').tabs();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; });
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Dec 21, 9:23 pm, Julian Aubourg &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aubourg.jul...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; OK, so I finally got time to write some docs &amp; unit tests for my own baby...
&lt;br&gt;&amp;gt; &amp;gt; and here comes Dominoes:&lt;a href=&quot;http://code.google.com/p/javascript-dominoes/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/javascript-dominoes/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; See the Wiki pages to get an idea of what it is capable of (quite the wall
&lt;br&gt;&amp;gt; &amp;gt; of text there but heh).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; It is more of a general purpose &amp;quot;scheduler&amp;quot; and provides some nice features
&lt;br&gt;&amp;gt; &amp;gt; like property expansion, global dependency rules, etc, etc. It is browser
&lt;br&gt;&amp;gt; &amp;gt; agnostic in the spirit of sizzle.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Only 4kB minified but the google compiler breaks the code (I didn't have
&lt;br&gt;&amp;gt; &amp;gt; time to investigate why).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 2009/12/21 John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Hi James -
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; There's definitely room for collaboration here. As I mentioned in the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; comments on the commit I'm planning on holding off on jQuery.require()
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; until post-1.4 so that we can really get it right and hopefully
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; standardize a bit. I'll ping you again after the 1.4 dust has settled
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; and we can discuss it some more.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --John
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; On Wed, Dec 16, 2009 at 7:16 PM, James Burke &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jrbu...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I heard about the jQuery require that is shown as part of this
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; changeset:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://github.com/jquery/jquery/commit/998cb005fc378188b3bae319e391d1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/jquery/jquery/commit/998cb005fc378188b3bae319e391d1&lt;/a&gt;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; I work on Dojo's module loader, and have a new standalone (no other
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; library dependency) script loader here:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://code.google.com/p/runjs/wiki/RunJs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/runjs/wiki/RunJs&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; The goal is to keep RunJS compatible with the goals of CommonJS
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; (avoiding globals mainly) but still allow for a module syntax that
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; works well natively in the browser. It does not use XHR calls, just
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; script tags. Works before page load and after page load.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; It also handles loading regular scripts that are not coded as modules:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; run([&amp;quot;some/script.js&amp;quot;, &amp;quot;another/script.js&amp;quot;], function() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt;    //This callback is fired when both scripts load
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; });
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; For scripts that do follow the module syntax and have dependencies, it
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; properly traces the module dependencies and calls the module
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; definition functions in the correct order.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; It would be ideal if more of the JS libraries started to standardize
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; on a script loader. I am happy to work out changes to RunJS if jQuery
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; might find it useful to use. For instance, the entry point does not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; have to be called run(), I am considering switching to script() since
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; it handles general script loading and callbacks when scripts are
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; loaded.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; It also might be good to pull out a script loader from the core jQuery
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; library, if only to keep the separation of concerns easier to track.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; RunJS has plugins for i18n string bundle loading, and also can load
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; text files (like HTML snippets) via async xhr, then inline those text
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; files as part of a build process.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; But I may be misunderstanding the scope of jQuery's require. In any
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; case, I just wanted to see if there was some common interest and if we
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; might be able to coordinate our efforts.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; Thanks for your time,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; James Burke
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;&amp;lt;jquery-dev%2Bunsubscribe@googlegrou ps.com&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; .
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;&amp;lt;jquery-dev%2Bunsubscribe@googlegrou ps.com&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; .
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26901544&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-require-and-script-loaders-tp26822733s27240p26901544.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26900064</id>
	<title>Re: Feature Request: $.ajax(): Detect json via respons e  header</title>
	<published>2009-12-23T01:56:57Z</published>
	<updated>2009-12-23T01:56:57Z</updated>
	<author>
		<name>Tobias Hoffmann-2</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Dec 23, 2009 at 5:16 AM, John Resig &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26900064&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeresig@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Is there an open ticket on this? If so I don&amp;#39;t see a reason not to land it.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;Well, if there is no safe json decoder (i.e. just eval()) it&amp;#39;s not immediatly clear to me, that I really want this.&lt;br&gt;
Yes, all the other jscripts also come from the server and are thus somehow equally trustworthy.&lt;br&gt;And the Content-Type on the HTTP header can not easily be spoofed. But I don&amp;#39;t want jquery to evaluate some&lt;br&gt;unsafe user content (e.g. CMS, Guestbook, ... ) that wasn&amp;#39;t ever meant to be json ...&lt;br&gt;
&lt;br&gt;  Tobias&lt;br&gt;&lt;br&gt;
&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;/font&gt;&lt;div&gt;&lt;div class=&quot;h5&quot;&gt;&amp;gt; Could we change the $.ajax() function to treat the server&amp;#39;s response&lt;br&gt;

&amp;gt; as json if dataType is unspecified and the response content-type is&lt;br&gt;
&amp;gt; &amp;quot;application/json&amp;quot;?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Dave&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26900064&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26900064&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Feature-Request%3A-%24.ajax%28%29%3A-Detect-json-via-response--header-tp26895337s27240p26900064.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26897934</id>
	<title>Re: Feature Request: $.ajax(): Detect json via respons e  header</title>
	<published>2009-12-22T20:16:13Z</published>
	<updated>2009-12-22T20:16:13Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">Is there an open ticket on this? If so I don't see a reason not to land it.
&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Dec 22, 2009 at 10:35 PM, Rick Waldron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897934&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;waldron.rick@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I think I hacked a copy of jquery 1.3.2 to do this... I'll take a look and
&lt;br&gt;&amp;gt; drop you a line.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- Sent from my Palm Prē
&lt;br&gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt; webbiedave wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could we change the $.ajax() function to treat the server's response
&lt;br&gt;&amp;gt; as json if dataType is unspecified and the response content-type is
&lt;br&gt;&amp;gt; &amp;quot;application/json&amp;quot;?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897934&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; To unsubscribe from this group, send email to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897934&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897934&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; To unsubscribe from this group, send email to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897934&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897934&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897934&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Feature-Request%3A-%24.ajax%28%29%3A-Detect-json-via-response--header-tp26895337s27240p26897934.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26897697</id>
	<title>Re: Feature Request: $.ajax(): Detect json via respons e  header</title>
	<published>2009-12-22T19:35:09Z</published>
	<updated>2009-12-22T19:35:09Z</updated>
	<author>
		<name>Rick Waldron</name>
	</author>
	<content type="html">&lt;span style=&quot;color:navy; font-family:Prelude, Verdana, san-serif; &quot;&gt;&lt;span style=&quot;font-family:Prelude, Verdana, san-serif;&quot;&gt;I think I hacked a copy of jquery 1.3.2 to do this... I'll take a look and drop you a line.&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;span id=&quot;signature&quot;&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 12px;color: #999999;&quot;&gt;-- Sent from my Palm Prē&lt;/div&gt;&lt;br&gt;&lt;/span&gt;&lt;hr align=&quot;left&quot; style=&quot;width:75%&quot;&gt;webbiedave wrote:&lt;br&gt;&lt;br&gt;Hello.
&lt;br&gt;
&lt;br&gt;Could we change the $.ajax() function to treat the server's response
&lt;br&gt;as json if dataType is unspecified and the response content-type is
&lt;br&gt;&quot;application/json&quot;?
&lt;br&gt;
&lt;br&gt;Thanks,
&lt;br&gt;Dave
&lt;br&gt;
&lt;br&gt;--
&lt;br&gt;
&lt;br&gt;You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897697&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897697&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;&lt;/span&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897697&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26897697&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Feature-Request%3A-%24.ajax%28%29%3A-Detect-json-via-response--header-tp26895337s27240p26897697.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26895846</id>
	<title>Re: Feature Request: $.ajax(): Detect json via response  header</title>
	<published>2009-12-22T15:17:21Z</published>
	<updated>2009-12-22T15:17:21Z</updated>
	<author>
		<name>webbiedave-2</name>
	</author>
	<content type="html">What if we changed the JSON part of the httpData function from:
&lt;br&gt;&lt;br&gt;&lt;br&gt;// Get the JavaScript object, if JSON is used.
&lt;br&gt;if ( type == &amp;quot;json&amp;quot; )
&lt;br&gt;&amp;nbsp; &amp;nbsp; data = window[&amp;quot;eval&amp;quot;](&amp;quot;(&amp;quot; + data + &amp;quot;)&amp;quot;);
&lt;br&gt;&lt;br&gt;&lt;br&gt;to:
&lt;br&gt;&lt;br&gt;&lt;br&gt;// Get the JavaScript object, if JSON is used.
&lt;br&gt;if ( type == &amp;quot;json&amp;quot; || !type &amp;&amp; ct &amp;&amp; ct.indexOf(&amp;quot;json&amp;quot;) &amp;gt;= 0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; data = window[&amp;quot;eval&amp;quot;](&amp;quot;(&amp;quot; + data + &amp;quot;)&amp;quot;);
&lt;br&gt;&lt;br&gt;&lt;br&gt;It's been quite helpful to me indeed, i.e., in implementing a
&lt;br&gt;classical &amp;quot;client submits form&amp;quot; ---&amp;gt; &amp;quot;server processes form&amp;quot; ---&amp;gt;
&lt;br&gt;&amp;quot;server returns content (form errors) or redirect (no errors)&amp;quot;
&lt;br&gt;approach within tabs, greatly speeding development time:
&lt;br&gt;&lt;br&gt;&lt;br&gt;$.ajax({
&lt;br&gt;&amp;nbsp; &amp;nbsp; type: &amp;quot;POST&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; url: &amp;quot;/mformprocessor&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; data: $(&amp;quot;#mform&amp;quot;).serialize(),
&lt;br&gt;&amp;nbsp; &amp;nbsp; success: function(resp){
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!empty(resp.redir) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; redirTab(resp.redir, TABS_CONTAINER_ID, 2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setTabHTML(resp, TABS_CONTAINER_ID, 2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;});
&lt;br&gt;&lt;br&gt;&lt;br&gt;This affords the server the ability to effect varying actions on the
&lt;br&gt;client without worrying about output buffering (resp.html) and other
&lt;br&gt;headache inducers. Plus, I think it's a good idea to treat the
&lt;br&gt;response as json if the content-type header is json.
&lt;br&gt;&lt;br&gt;Might something like this be committable?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Dec 22, 1:19 pm, webbiedave &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26895846&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;webbied...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hello.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could we change the $.ajax() function to treat the server's response
&lt;br&gt;&amp;gt; as json if dataType is unspecified and the response content-type is
&lt;br&gt;&amp;gt; &amp;quot;application/json&amp;quot;?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Dave
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26895846&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26895846&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Feature-Request%3A-%24.ajax%28%29%3A-Detect-json-via-response--header-tp26895337s27240p26895846.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26896036</id>
	<title>Re: Feature Request: $.ajax(): Detect json via response  header</title>
	<published>2009-12-22T14:56:59Z</published>
	<updated>2009-12-22T14:56:59Z</updated>
	<author>
		<name>jaubourg</name>
	</author>
	<content type="html">With the upcoming new ajax code, it should be doable.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/22 webbiedave &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896036&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;webbiedave@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello.&lt;br&gt;
&lt;br&gt;
Could we change the $.ajax() function to treat the server&amp;#39;s response&lt;br&gt;
as json if dataType is unspecified and the response content-type is&lt;br&gt;
&amp;quot;application/json&amp;quot;?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Dave&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--&lt;br&gt;
&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.&lt;br&gt;
To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896036&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br&gt;
To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896036&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev%2Bunsubscribe@...&lt;/a&gt;.&lt;br&gt;
For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896036&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26896036&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Feature-Request%3A-%24.ajax%28%29%3A-Detect-json-via-response--header-tp26895337s27240p26896036.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26894219</id>
	<title>Re: A fix for the broken &quot;selected&quot; code in attr()</title>
	<published>2009-12-22T12:57:02Z</published>
	<updated>2009-12-22T12:57:02Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;  // Safari mis-reports the default selected property of a hidden
&lt;br&gt;&amp;gt; option
&lt;br&gt;&amp;gt;  // Accessing the parent's selectedIndex property fixes it
&lt;br&gt;&amp;gt;  if ( name == &amp;quot;selected&amp;quot; &amp;&amp; elem.parentNode ) {
&lt;br&gt;&amp;gt;    elem.parentNode.selectedIndex;
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I previously made two points:
&lt;br&gt;&amp;gt; 1) This code will not work of the &amp;lt;option&amp;gt; is in an &amp;lt;optgroup&amp;gt;
&lt;br&gt;&amp;gt; (common)
&lt;/div&gt;&lt;br&gt;Filed and fixed. &lt;a href=&quot;http://dev.jquery.com/ticket/5701&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5701&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; After some discussion with colleagues, ...
&lt;br&gt;&lt;br&gt;Heh.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;  // Safari mis-reports the default selected property of a hidden
&lt;br&gt;&amp;gt; option
&lt;br&gt;&amp;gt;  // Accessing the parent's selectedIndex property fixes it
&lt;br&gt;&amp;gt;  if ( name == &amp;quot;selected&amp;quot; &amp;&amp; elem.parentNode ) {
&lt;br&gt;&amp;gt;    elem.parentNode.selectedIndex;
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; with these:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  if (name==&amp;quot;selected&amp;quot;) {
&lt;br&gt;&amp;gt;   return getOptionSelected(elem);
&lt;br&gt;&amp;gt;  }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Then you'll have a more robust, feature-tested, efficient, correctly-
&lt;br&gt;&amp;gt; documented fix to this &amp;quot;problem&amp;quot;.
&lt;/div&gt;&lt;br&gt;As it is the overhead to the existing fix is very minimal, has no
&lt;br&gt;function calls, no DOM manipulation, and is only 6 lines of code (even
&lt;br&gt;with the optgroup fix).
&lt;br&gt;&lt;br&gt;Doing a bit more research I found a very similar problem when you use
&lt;br&gt;dynamically-created optgroups in IE. I found a feature detect that was
&lt;br&gt;able to detect the specific logic in Webkit and IE and skip the
&lt;br&gt;property accesses if not necessary.
&lt;br&gt;&lt;br&gt;Filed and fixed: &lt;a href=&quot;http://dev.jquery.com/ticket/5702&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5702&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Again, though, my suggestion is to just remove it. I don't think
&lt;br&gt;&amp;gt; generalized library code should try to normalize behavior that is not
&lt;br&gt;&amp;gt; demanded by the specs and that can be easily corrected through proper
&lt;br&gt;&amp;gt; HTML.
&lt;br&gt;&lt;br&gt;Although, I seem to remember having a very heated discussion wherein
&lt;br&gt;you advocated that our position of asking users to specify a doctype
&lt;br&gt;to animate element width/height to 0 in IE 6 was too extreme and that
&lt;br&gt;we shouldn't be making demands of a user's markup. (Granted that is
&lt;br&gt;likely the only place where we make such a demand: We just ask the
&lt;br&gt;users to provide a document that validates first.)
&lt;br&gt;&lt;br&gt;Thanks for the pointers. In the future, filing individual
&lt;br&gt;tickets/patches/test cases will be quite helpful.
&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26894219&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26894219&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/A-fix-for-the-broken-%22selected%22-code-in-attr%28%29-tp26874826s27240p26894219.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26895337</id>
	<title>Feature Request: $.ajax(): Detect json via response  header</title>
	<published>2009-12-22T11:19:55Z</published>
	<updated>2009-12-22T11:19:55Z</updated>
	<author>
		<name>webbiedave</name>
	</author>
	<content type="html">Hello.
&lt;br&gt;&lt;br&gt;Could we change the $.ajax() function to treat the server's response
&lt;br&gt;as json if dataType is unspecified and the response content-type is
&lt;br&gt;&amp;quot;application/json&amp;quot;?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Dave
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26895337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26895337&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Feature-Request%3A-%24.ajax%28%29%3A-Detect-json-via-response--header-tp26895337s27240p26895337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26891614</id>
	<title>Re: .SlideUp() + Firefox</title>
	<published>2009-12-22T09:34:42Z</published>
	<updated>2009-12-22T09:34:42Z</updated>
	<author>
		<name>alexander farkas</name>
	</author>
	<content type="html">Yes, this is a big problem. But, i don´t know a solution. I wrote two
&lt;br&gt;workarounds for that.
&lt;br&gt;&lt;br&gt;1. disable scrolbar on body + add padding-right in the size of the
&lt;br&gt;scrollbar width (has to dynamically calclated) for the time the
&lt;br&gt;animation occurs. between disabling scrollbar and calling slideup has
&lt;br&gt;to be a short delay, so that ff can render the disabled scrollbar
&lt;br&gt;before animating.
&lt;br&gt;&lt;br&gt;pro:
&lt;br&gt;- although this sounds very obtrusive, the delayed scrollbar change isn
&lt;br&gt;´t noticed by normal users
&lt;br&gt;- this could be easily generalized
&lt;br&gt;con:
&lt;br&gt;sometimes the bad effect still happens (if someone knows a reason for
&lt;br&gt;this, plz tell me)
&lt;br&gt;&lt;br&gt;2. animate the scrolltop of body at the same time to scroll up
&lt;br&gt;&lt;br&gt;pro:
&lt;br&gt;- if you make the upscrplling a little faster than the slideup, the
&lt;br&gt;effect doesn´t appear
&lt;br&gt;&lt;br&gt;con:
&lt;br&gt;- you can´t generate a generalized code to do this. (multi-colum
&lt;br&gt;layout etc....)
&lt;br&gt;&lt;br&gt;On 22 Dez., 12:39, &amp;quot;Peter Wright&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891614&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Peter.Wri...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     Has anyone else ever noticed a rather disgusting scrollbar redraw
&lt;br&gt;&amp;gt; causing a page to flicker when the content shrinks in size (usually
&lt;br&gt;&amp;gt; triggered by SlideUp())?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This occurs when the document's height is reduced gradually causing the
&lt;br&gt;&amp;gt; viewport's view to be invalid multiple times a second. so the scrollbar
&lt;br&gt;&amp;gt; has to be redrawn to handle where the viewport's location matches the
&lt;br&gt;&amp;gt; bottom of the page. If anyone knows of a graceful solution to implement
&lt;br&gt;&amp;gt; handling a clean slideUp when the viewport is near the document bottom I
&lt;br&gt;&amp;gt; would much appreciate it, perhaps something to be considered in the 1.4
&lt;br&gt;&amp;gt; release?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kind regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Peter Wright
&lt;br&gt;&amp;gt; --------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; This email and any attachments are confidential and are for the use of the addressee only. If you are not the addressee, you must not use or disclose the contents to any other person. Please immediately notify the sender and delete the email. Statements and opinions expressed here may not represent those of the company. Email correspondence is monitored by the company. This information may be subject to Export Control Regulation. You are obliged to comply with such Regulations
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The parent company of the Renishaw Group is Renishaw plc, registered in England no. 1106260. Registered Office: New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR, United Kingdom. Tel +44 (0) 1453 524524
&lt;br&gt;&amp;gt; --------------------------------------------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891614&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891614&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/.SlideUp%28%29-%2B-Firefox-tp26888692s27240p26891614.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26891282</id>
	<title>Re: jQuery 1.4 $.param demystified</title>
	<published>2009-12-22T09:12:34Z</published>
	<updated>2009-12-22T09:12:34Z</updated>
	<author>
		<name>&quot;Cowboy&quot; Ben Alman</name>
	</author>
	<content type="html">Dave, I have no idea how many people are serializing complex data
&lt;br&gt;structures into query strings for client-server interactions, but I
&lt;br&gt;see [] in forms all the time (or in #jquery, completely fail to see []
&lt;br&gt;in forms, when we're trying to help a newbie troubleshoot).
&lt;br&gt;&lt;br&gt;Still, this is something I've been using in jQuery BBQ entirely on the
&lt;br&gt;client-side. When people ask, I do recommend that they use JSON, but
&lt;br&gt;it's nice to have the ability in jQuery 1.4 to represent a somewhat
&lt;br&gt;more robust data structure, cross-browser, without requiring any
&lt;br&gt;extra .js files.
&lt;br&gt;&lt;br&gt;And despite the relative weaknesses of request params parsing, the
&lt;br&gt;real benefit here is that the same method that currently works for
&lt;br&gt;passing form data can be made to use for XHR, without needing anything
&lt;br&gt;fancy on the server-side to handle different cases, which makes
&lt;br&gt;progressive enhancement type stuff easier.
&lt;br&gt;&lt;br&gt;- Ben
&lt;br&gt;&lt;br&gt;On Dec 22, 11:23 am, Dave Methvin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891282&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dave.meth...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; That helps a lot. It does seem to make sense to put the flag in
&lt;br&gt;&amp;gt; ajaxSettings, which also keeps it out of the main jQuery namespace. My
&lt;br&gt;&amp;gt; preference would be to avoid changing the behavior from 1.3==&amp;gt;1.4 by
&lt;br&gt;&amp;gt; having traditional:true by default.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Independent of PHP-compatible param naming, which I think is
&lt;br&gt;&amp;gt; definitely useful, does any code currently use or need the ability to
&lt;br&gt;&amp;gt; create nested complex objects in a query string? It seems like this is
&lt;br&gt;&amp;gt; inventing a new JSON-like serialization mechanism when it might be
&lt;br&gt;&amp;gt; better to encourage JSON use instead. There is good JSON support on
&lt;br&gt;&amp;gt; just about all platforms, whereas we're grappling with the issues here
&lt;br&gt;&amp;gt; of how to deal with traditional vs non-traditional params in a
&lt;br&gt;&amp;gt; coherent way and the paint on this isn't dry yet.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891282&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891282&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-1.4-%24.param-demystified-tp26875923s27240p26891282.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26891011</id>
	<title>Re: Re: change-event bugs in IE</title>
	<published>2009-12-22T08:46:10Z</published>
	<updated>2009-12-22T08:46:10Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">&amp;gt; I have looked into the code today and everything works fine :-). +
&lt;br&gt;&lt;br&gt;Excellent :) If you haven't already, I recommend checking out
&lt;br&gt;test/delegatetest.html - I've been using that to do a bunch of this
&lt;br&gt;change/submit/focus/blur testing and it's been very helpful.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Altough it is a huge hack with some complexity, the code looks slick
&lt;br&gt;&amp;gt; and straight forward.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the only thing we could optimize would be:
&lt;br&gt;&amp;gt; a) to not use .data on checkboxes too
&lt;br&gt;&amp;gt; or
&lt;br&gt;&amp;gt; b) to remove .data on focusout
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But I don´t think it is worth doing it. Do we have reasonable
&lt;br&gt;&amp;gt; perfromance pros in time or memory here, if we remove the data async?
&lt;br&gt;&amp;gt; (and not on unload/cleandata-actions)
&lt;/div&gt;&lt;br&gt;Yeah, I think we're probably ok here, as well. The normal garbage
&lt;br&gt;collection that we do should be sufficient, I think.
&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891011&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26891011&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/change-event-bugs-in-IE-tp26875013s27240p26891011.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26890729</id>
	<title>Re: jQuery 1.4 $.param demystified</title>
	<published>2009-12-22T08:23:30Z</published>
	<updated>2009-12-22T08:23:30Z</updated>
	<author>
		<name>dave.methvin</name>
	</author>
	<content type="html">That helps a lot. It does seem to make sense to put the flag in
&lt;br&gt;ajaxSettings, which also keeps it out of the main jQuery namespace. My
&lt;br&gt;preference would be to avoid changing the behavior from 1.3==&amp;gt;1.4 by
&lt;br&gt;having traditional:true by default.
&lt;br&gt;&lt;br&gt;Independent of PHP-compatible param naming, which I think is
&lt;br&gt;definitely useful, does any code currently use or need the ability to
&lt;br&gt;create nested complex objects in a query string? It seems like this is
&lt;br&gt;inventing a new JSON-like serialization mechanism when it might be
&lt;br&gt;better to encourage JSON use instead. There is good JSON support on
&lt;br&gt;just about all platforms, whereas we're grappling with the issues here
&lt;br&gt;of how to deal with traditional vs non-traditional params in a
&lt;br&gt;coherent way and the paint on this isn't dry yet.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26890729&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26890729&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-1.4-%24.param-demystified-tp26875923s27240p26890729.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26889406</id>
	<title>Re: jQuery require and script loaders</title>
	<published>2009-12-22T06:42:35Z</published>
	<updated>2009-12-22T06:42:35Z</updated>
	<author>
		<name>aHeckman</name>
	</author>
	<content type="html">Julian, dominoes is very nice. I like your flexible syntax for
&lt;br&gt;ordering dependencies and how you allow your configuration of named
&lt;br&gt;resources.
&lt;br&gt;&lt;br&gt;I too just finished a loader for jQuery but it has different goals in
&lt;br&gt;mind. Namely, I wanted a loader that would do more than just
&lt;br&gt;javascript. Many jQuery plugins and jQuery-ui components have css
&lt;br&gt;stylesheet and image dependencies as well so I felt a good loader
&lt;br&gt;should handle these too. It's still early but so far it's been useful.
&lt;br&gt;You can check it out here: &lt;a href=&quot;http://github.com/aheckmann/jQuery.use&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/aheckmann/jQuery.use&lt;/a&gt;&lt;br&gt;&lt;br&gt;My vision is that we come together as a community and organize all of
&lt;br&gt;the jQuery components / plugins under one umbrella, and be able to
&lt;br&gt;dynamically serve all of them from a managed repo / CDN - think
&lt;br&gt;&lt;a href=&quot;http://yui.yahooapis.com/combo&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://yui.yahooapis.com/combo&lt;/a&gt;? for the entire jQuery community.
&lt;br&gt;jQuery.use is configurable to use a file concat service like YUIs
&lt;br&gt;combo service.
&lt;br&gt;&lt;br&gt;jQuery.use('jquery-ui-tabs', function ($) {
&lt;br&gt;&amp;nbsp; &amp;nbsp;$('.tabs').tabs();
&lt;br&gt;});
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Dec 21, 9:23 pm, Julian Aubourg &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aubourg.jul...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; OK, so I finally got time to write some docs &amp; unit tests for my own baby...
&lt;br&gt;&amp;gt; and here comes Dominoes:&lt;a href=&quot;http://code.google.com/p/javascript-dominoes/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/javascript-dominoes/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See the Wiki pages to get an idea of what it is capable of (quite the wall
&lt;br&gt;&amp;gt; of text there but heh).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It is more of a general purpose &amp;quot;scheduler&amp;quot; and provides some nice features
&lt;br&gt;&amp;gt; like property expansion, global dependency rules, etc, etc. It is browser
&lt;br&gt;&amp;gt; agnostic in the spirit of sizzle.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Only 4kB minified but the google compiler breaks the code (I didn't have
&lt;br&gt;&amp;gt; time to investigate why).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/12/21 John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi James -
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; There's definitely room for collaboration here. As I mentioned in the
&lt;br&gt;&amp;gt; &amp;gt; comments on the commit I'm planning on holding off on jQuery.require()
&lt;br&gt;&amp;gt; &amp;gt; until post-1.4 so that we can really get it right and hopefully
&lt;br&gt;&amp;gt; &amp;gt; standardize a bit. I'll ping you again after the 1.4 dust has settled
&lt;br&gt;&amp;gt; &amp;gt; and we can discuss it some more.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --John
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On Wed, Dec 16, 2009 at 7:16 PM, James Burke &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jrbu...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I heard about the jQuery require that is shown as part of this
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; changeset:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://github.com/jquery/jquery/commit/998cb005fc378188b3bae319e391d1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/jquery/jquery/commit/998cb005fc378188b3bae319e391d1&lt;/a&gt;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I work on Dojo's module loader, and have a new standalone (no other
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; library dependency) script loader here:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;&lt;a href=&quot;http://code.google.com/p/runjs/wiki/RunJs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/runjs/wiki/RunJs&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; The goal is to keep RunJS compatible with the goals of CommonJS
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; (avoiding globals mainly) but still allow for a module syntax that
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; works well natively in the browser. It does not use XHR calls, just
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; script tags. Works before page load and after page load.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; It also handles loading regular scripts that are not coded as modules:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; run([&amp;quot;some/script.js&amp;quot;, &amp;quot;another/script.js&amp;quot;], function() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt;    //This callback is fired when both scripts load
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; });
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; For scripts that do follow the module syntax and have dependencies, it
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; properly traces the module dependencies and calls the module
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; definition functions in the correct order.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; It would be ideal if more of the JS libraries started to standardize
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; on a script loader. I am happy to work out changes to RunJS if jQuery
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; might find it useful to use. For instance, the entry point does not
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; have to be called run(), I am considering switching to script() since
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; it handles general script loading and callbacks when scripts are
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; loaded.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; It also might be good to pull out a script loader from the core jQuery
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; library, if only to keep the separation of concerns easier to track.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; RunJS has plugins for i18n string bundle loading, and also can load
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; text files (like HTML snippets) via async xhr, then inline those text
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; files as part of a build process.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; But I may be misunderstanding the scope of jQuery's require. In any
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; case, I just wanted to see if there was some common interest and if we
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; might be able to coordinate our efforts.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; Thanks for your time,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; James Burke
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; To unsubscribe from this group, send email to
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev%2Bunsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; .
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev%2Bunsubscribe@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; .
&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889406&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-require-and-script-loaders-tp26822733s27240p26889406.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26889364</id>
	<title>Re: Bug in jQuery.val() in beta 1.4a2</title>
	<published>2009-12-22T06:39:36Z</published>
	<updated>2009-12-22T06:39:36Z</updated>
	<author>
		<name>Matt Kruse-3</name>
	</author>
	<content type="html">On Dec 22, 1:05 am, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889364&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Just to clarify then, since jQuery already covers cases 2-4 as you're
&lt;br&gt;&amp;gt; expecting it to and case #1 currently fails - and that case is
&lt;br&gt;&amp;gt; decidedly not what this thread discussion started as.
&lt;br&gt;&lt;br&gt;I'm just pointing out several test cases that should be handled
&lt;br&gt;correctly, possibly added to the test suite.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Dummy&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;&amp;quot;&amp;gt;Empty&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  $('#x').val('')
&lt;br&gt;&amp;gt; &amp;gt; should select the second option.
&lt;br&gt;&amp;gt; Agreed.
&lt;br&gt;&lt;br&gt;Broken in 1.4.1a2, but now corrected I see.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  $('#x').val('x')
&lt;br&gt;&amp;gt; &amp;gt; should select the first option only.
&lt;br&gt;&amp;gt; Yep, as it does in 1.4.
&lt;br&gt;&lt;br&gt;Yes, but it didn't in 1.3.2.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;select multiple id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  $('#x').val('x')
&lt;br&gt;&amp;gt; &amp;gt; should select the first option only, IMO. It's kind of ambiguous and
&lt;br&gt;&amp;gt; &amp;gt; jQuery should define what it wants to do.
&lt;br&gt;&amp;gt; Yep, as it does in 1.4.
&lt;br&gt;&lt;br&gt;Yes, but it didn't in 1.3.2.
&lt;br&gt;&lt;br&gt;&amp;gt; In fact, 1.4 removes the ambiguity completely
&lt;br&gt;&amp;gt; by only using the value with the val method, which is much better.
&lt;br&gt;&lt;br&gt;I agree, but it is a change in the API and may make it difficult for
&lt;br&gt;some to upgrade (it removes functionality). The wandering API
&lt;br&gt;sometimes makes it difficult to upgrade jQuery versions, which is why
&lt;br&gt;I have some projects stuck on 1.2.6 and one that was just recently
&lt;br&gt;upped from 1.1.2! :(
&lt;br&gt;&lt;br&gt;Matt Kruse
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889364&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26889364&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-jQuery.val%28%29-in-beta-1.4a2-tp26883449s27240p26889364.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26888277</id>
	<title>Re: jQuery 1.4 $.param demystified</title>
	<published>2009-12-22T05:21:59Z</published>
	<updated>2009-12-22T05:21:59Z</updated>
	<author>
		<name>&quot;Cowboy&quot; Ben Alman</name>
	</author>
	<content type="html">Ok, so $.param is explicitly called in $.fn.load, $.fn.serialize and
&lt;br&gt;$.ajax.
&lt;br&gt;&lt;br&gt;I really like the idea of adding &amp;quot;traditional&amp;quot; as a property in the
&lt;br&gt;$.ajaxSettings data object, as well as making it a second, optional
&lt;br&gt;argument to $.param. This is something I had considered at one point,
&lt;br&gt;but never implemented. I don't see any benefit to adding a
&lt;br&gt;&amp;quot;traditional&amp;quot; argument to $.fn.serialize, because form input names
&lt;br&gt;should always explicity include any necessary [], to allow for
&lt;br&gt;graceful dedgradation.
&lt;br&gt;&lt;br&gt;How does this commit look?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/cowboy/jquery/commit/4ea851e08841447ba3550dc54785b3c026a5560f&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/cowboy/jquery/commit/4ea851e08841447ba3550dc54785b3c026a5560f&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;* $.ajaxSettings.traditional defaults to false, changeable by
&lt;br&gt;$.ajaxSetup({ traditional: true });
&lt;br&gt;&amp;nbsp;* $.fn.load and all other $.ajax XHR methods use the
&lt;br&gt;$.ajaxSettings.traditional property to determine their behavior, which
&lt;br&gt;can be overridden with $.ajax options.
&lt;br&gt;&amp;nbsp;* $.param behavior defaults to the value of
&lt;br&gt;$.ajaxSettings.traditional but can be overridden by a second, optional
&lt;br&gt;argument.
&lt;br&gt;&lt;br&gt;I also like the idea that &amp;quot;traditional&amp;quot; is false by default. It's
&lt;br&gt;relatively easy for anyone upgrading to 1.4 to set $.ajaxSetup
&lt;br&gt;({ traditional: true }); in their code if they are encountering
&lt;br&gt;encoding issues, but for beginner PHP and Rails users (which seems to
&lt;br&gt;represent a substantial portion of the jQuery community) starting on
&lt;br&gt;1.4, this will be one less AJAX question that they need to ask.
&lt;br&gt;&lt;br&gt;Either way, it would be trivial to make the &amp;quot;traditional&amp;quot; flag to
&lt;br&gt;default to true, just as long as there *is* a traditional flag.
&lt;br&gt;&lt;br&gt;Perhaps it would be useful to break down how request params are
&lt;br&gt;deserialized, by server / framework.. anyone?
&lt;br&gt;&lt;br&gt;- Ben
&lt;br&gt;&lt;br&gt;On Dec 21, 9:56 pm, Dave Methvin &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26888277&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dave.meth...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; Does this mean that the default mechanism now changed, so that code
&lt;br&gt;&amp;gt; &amp;gt; which used to work will silently start failing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yeah, I have some concerns about this. It's great to have $.param
&lt;br&gt;&amp;gt; facilitate PHP-friendly serialization, but I'd like to see the default
&lt;br&gt;&amp;gt; reversed to avoid breaking existing code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The argument that &amp;quot;this helps PHP&amp;quot; could be countered by &amp;quot;this hurts
&lt;br&gt;&amp;gt; &amp;gt; java servlets&amp;quot;, where request.getParameterValues(&amp;quot;a&amp;quot;) already returns
&lt;br&gt;&amp;gt; &amp;gt; an array for a (as in jQuery &amp;lt; 1.4), but needs to change for jQuery
&lt;br&gt;&amp;gt; &amp;gt; 1.4.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This also breaks existing server ASP code, which already understands
&lt;br&gt;&amp;gt; that multiple params with the same name should be turned into an
&lt;br&gt;&amp;gt; array.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just another thought here; the flag being added is global, but it's
&lt;br&gt;&amp;gt; quite possible a page may be communicating with different hosts that
&lt;br&gt;&amp;gt; have different requirements. If different plugins have different needs
&lt;br&gt;&amp;gt; then it could get really messy having them bang around the same global
&lt;br&gt;&amp;gt; flag.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Either as an alternative or addition to a global flag, .ajaxSettings,
&lt;br&gt;&amp;gt; the .ajax() options parameter, .param(), .serialize() and
&lt;br&gt;&amp;gt; serializeArray() could support an optional argument to decide how to
&lt;br&gt;&amp;gt; serialize the data.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26888277&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26888277&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-1.4-%24.param-demystified-tp26875923s27240p26888277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26887583</id>
	<title>Re: Bug in jQuery.val() in beta 1.4a2</title>
	<published>2009-12-22T04:29:35Z</published>
	<updated>2009-12-22T04:29:35Z</updated>
	<author>
		<name>Devon Govett</name>
	</author>
	<content type="html">John,
&lt;br&gt;&lt;br&gt;I think that this is a very common way to set the selection, and might
&lt;br&gt;end up breaking people's code when they upgrade to jQuery 1.4. &amp;nbsp;People
&lt;br&gt;probably figured out that you could set the selection with either
&lt;br&gt;property and used this in their code. &amp;nbsp;When these people upgrade to
&lt;br&gt;jQuery 1.4, their code will break and they won't know why! &amp;nbsp;People
&lt;br&gt;have a different value property and display value all the time. &amp;nbsp;It
&lt;br&gt;seems weird that their code will work when either one of these
&lt;br&gt;properties is defined but not both.
&lt;br&gt;&lt;br&gt;Devon
&lt;br&gt;&lt;br&gt;On Dec 22, 2:05 am, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887583&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Just to clarify then, since jQuery already covers cases 2-4 as you're
&lt;br&gt;&amp;gt; expecting it to and case #1 currently fails - and that case is
&lt;br&gt;&amp;gt; decidedly not what this thread discussion started as.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Consider the following cases:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; #1)
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Dummy&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;&amp;quot;&amp;gt;Empty&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  $('#x').val('')
&lt;br&gt;&amp;gt; &amp;gt; should select the second option.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Agreed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; #2)
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  $('#x').val('x')
&lt;br&gt;&amp;gt; &amp;gt; should select the first option only.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yep, as it does in 1.4.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; #3)
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;y&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option&amp;gt;y&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  $('#x').val('y')
&lt;br&gt;&amp;gt; &amp;gt; should select the second option only.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yep, as it does in 1.4.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; #4)
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;select multiple id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;  $('#x').val('x')
&lt;br&gt;&amp;gt; &amp;gt; should select the first option only, IMO. It's kind of ambiguous and
&lt;br&gt;&amp;gt; &amp;gt; jQuery should define what it wants to do.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yep, as it does in 1.4. In fact, 1.4 removes the ambiguity completely
&lt;br&gt;&amp;gt; by only using the value with the val method, which is much better. To
&lt;br&gt;&amp;gt; Devon: The change was very much intentional, as it was the case was
&lt;br&gt;&amp;gt; far too ambiguous and it was causing other problems to pop up. A very
&lt;br&gt;&amp;gt; explicit note will be made in the 1.4 release notes concerning this
&lt;br&gt;&amp;gt; change.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Revisiting the logic for getting the select val it looks like the ||
&lt;br&gt;&amp;gt; this.text was a holdover from trying to fix an IE 6 bug: If you don't
&lt;br&gt;&amp;gt; specify a value it'll supply &amp;quot;&amp;quot; as the value instead of the option
&lt;br&gt;&amp;gt; text. I've re-worked the logic to work uniformly in all browsers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Filed and fixed:&lt;a href=&quot;http://dev.jquery.com/ticket/5697&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5697&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I also went through the logic for .val() on checkboxes and radios -
&lt;br&gt;&amp;gt; the revised logic there definitely didn't make sense, especially since
&lt;br&gt;&amp;gt; this.value will never be empty (not specifying a value will just
&lt;br&gt;&amp;gt; result in a value of &amp;quot;on&amp;quot; - and specifying an empty value is a case we
&lt;br&gt;&amp;gt; want to hit).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Filed and fixed:&lt;a href=&quot;http://dev.jquery.com/ticket/5698&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5698&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Of course, it would be easy if that was the case but Webkit returns &amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; if you don't specify a value attribute, instead of &amp;quot;on&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Filed and fixed:&lt;a href=&quot;http://dev.jquery.com/ticket/5699&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5699&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --John
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887583&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887583&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-jQuery.val%28%29-in-beta-1.4a2-tp26883449s27240p26887583.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26887302</id>
	<title>Re: change-event bugs in IE</title>
	<published>2009-12-22T04:02:28Z</published>
	<updated>2009-12-22T04:02:28Z</updated>
	<author>
		<name>alexander farkas</name>
	</author>
	<content type="html">I have looked into the code today and everything works fine :-). +
&lt;br&gt;&lt;br&gt;Altough it is a huge hack with some complexity, the code looks slick
&lt;br&gt;and straight forward.
&lt;br&gt;&lt;br&gt;the only thing we could optimize would be:
&lt;br&gt;a) to not use .data on checkboxes too
&lt;br&gt;or
&lt;br&gt;b) to remove .data on focusout
&lt;br&gt;&lt;br&gt;But I don´t think it is worth doing it. Do we have reasonable
&lt;br&gt;perfromance pros in time or memory here, if we remove the data async?
&lt;br&gt;(and not on unload/cleandata-actions)
&lt;br&gt;&lt;br&gt;On 21 Dez., 22:26, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I just landed your change:&lt;a href=&quot;http://github.com/jquery/jquery/commit/209751fcbd8a42eef68df44c875763&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/jquery/jquery/commit/209751fcbd8a42eef68df44c875763&lt;/a&gt;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The best way to get further changes in is to make a fork of jQuery on
&lt;br&gt;&amp;gt; Github, commit your changes to your fork, and then do a pull request.
&lt;br&gt;&amp;gt; I'll see that right away and will be able to help you. It's also
&lt;br&gt;&amp;gt; generally a good practice to have tickets to go along with your
&lt;br&gt;&amp;gt; changes so that we can tie it back to a central point of discussion.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks for your help!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --John
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Dec 21, 2009 at 4:19 PM, alexander farkas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.farkas...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; This is great. I ´m awaiting jQuery 1.4 eagerly. : -).  After I wrote
&lt;br&gt;&amp;gt; &amp;gt; the script I found two bugs in my script. Didn´t know, that you
&lt;br&gt;&amp;gt; &amp;gt; already grabbed the code. But you only corrected one of them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; change the following line in the beforeactivate-handler:
&lt;br&gt;&amp;gt; &amp;gt; return jQuery.data( elem, &amp;quot;_change_data&amp;quot;, getVal(elem) );
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; to something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; jQuery.data( elem, &amp;quot;_change_data&amp;quot;, getVal(elem) );
&lt;br&gt;&amp;gt; &amp;gt; //for FF strictmode, if you want (code won´t be ever run in ff):
&lt;br&gt;&amp;gt; &amp;gt; return undefined;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If you leave it, the other way and the data for a unchecked checkbox
&lt;br&gt;&amp;gt; &amp;gt; is collected, the event will be prevented, wich breaks keyboard
&lt;br&gt;&amp;gt; &amp;gt; handling.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; + One other thing:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I would build the new jQuery-Version and make some more tests on this,
&lt;br&gt;&amp;gt; &amp;gt; using your delegatetest.html. If i find something, should I fill a
&lt;br&gt;&amp;gt; &amp;gt; bug, add the fix in this post or what is your preferred way?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; On 21 Dez., 21:34, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I poured over your patch all morning/afternoon and made a number of
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; changes, but finally landed it in jQuery core:&lt;a href=&quot;http://github.com/jquery/jquery/commit/5dc6b7ce3469eaadb37a151d449e8d&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/jquery/jquery/commit/5dc6b7ce3469eaadb37a151d449e8d&lt;/a&gt;...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; We now completely override the change event in IE, even for binding to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; form elements. This gives us full parity with other browsers (yay!).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks again, Alexander!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --John
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; On Mon, Dec 21, 2009 at 9:52 AM, alexander farkas
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.farkas...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; the url to the testcase, fix and diff:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&lt;a href=&quot;http://www.protofunc.com/scripts/jquery/change-event/fixed-change.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.protofunc.com/scripts/jquery/change-event/fixed-change.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; On 21 Dez., 15:50, alexander farkas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.farkas...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; I looked in the current implementation of the change event and found
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; some bugs in the IE specific code. The most obvious bugs were:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; 1. change-event bugs in conjunction with live:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; - the change event on radios happens to early (before the state is
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; changed to checked)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; - the change event on radios also occurs, if the user only focuses it
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; without changing it´s state (keyboard navigation or but untestet
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; readonly-property)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; - the change event occurs also on disabled/readonly checkboxes
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; - the change event on text-input and textarea never occurs (reason:&lt;a href=&quot;http://groups.google.com/group/jquery-dev/browse_thread/thread/270483&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev/browse_thread/thread/270483&lt;/a&gt;...)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; 2. change-event bugs in conjunction with bind
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; - most change events are doubbeld (normal change + computed change
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; including the bugs mentioned above)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; I tried to fix these issues you can find the demos + an uniffied diff
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; @&lt;a href=&quot;http://www.protofunc.com/scripts/jquery/change-event/fixed-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.protofunc.com/scripts/jquery/change-event/fixed-&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; change.html
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; To see the difference you have to use IE (6-8) with a console.log.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; Due to the fact, that the change-event in IE is vehemently broken. We
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; can completely intercepting it. This also allowes us to not only fix
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; the ovbious things like the bad change event on checkboxes/
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; radiobuttons. it also allowes us to fix the accessibility issue with
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; the change event on select-elements.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt;&amp;gt; The code is a quickfix so it needs a little love.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;gt; For more options, visit this group athttp://groups.google.com/group/jquery-dev?hl=en.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group athttp://groups.google.com/group/jquery-dev?hl=en.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26887302&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/change-event-bugs-in-IE-tp26875013s27240p26887302.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26888692</id>
	<title>.SlideUp() + Firefox</title>
	<published>2009-12-22T03:39:23Z</published>
	<updated>2009-12-22T03:39:23Z</updated>
	<author>
		<name>Peter Wright-8</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 3.2//EN&quot;&gt;
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;META NAME=&quot;Generator&quot; CONTENT=&quot;MS Exchange Server version 6.5.7654.12&quot;&gt;
&lt;TITLE&gt;.SlideUp() + Firefox&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
&lt;!-- Converted from text/rtf format --&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Hello,&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Has anyone else ever noticed a rather disgusting scrollbar redraw causing a page to flicker when the content shrinks in size (usually triggered by SlideUp())? &lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;This occurs when the document's height is reduced gradually causing the viewport's view to be invalid multiple times a second. so the scrollbar has to be redrawn to handle where the viewport's location matches the bottom of the page. If anyone knows of a graceful solution to implement handling a clean slideUp when the viewport is near the document bottom I would much appreciate it, perhaps something to be considered in the 1.4 release?&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Kind regards,&lt;/FONT&gt;
&lt;/P&gt;

&lt;P&gt;&lt;FONT SIZE=2 FACE=&quot;Arial&quot;&gt;Peter Wright&lt;/FONT&gt;
&lt;/P&gt;

&lt;FONT SIZE=2 FACE=arial&gt;--------------------------------------------------------------------------------------------------&lt;BR&gt;
This email and any attachments are confidential and are for the use of the&lt;BR&gt; addressee only. If you are not the addressee, you must not use or disclose the &lt;BR&gt;contents to any other person. Please immediately notify the sender and&lt;BR&gt; delete the email. Statements and opinions expressed here may not&lt;BR&gt; represent those of the company. Email correspondence is monitored by&lt;BR&gt; the company. This information may be subject to Export Control&lt;BR&gt; Regulation. You are obliged to comply with such Regulations&lt;P&gt;

The parent company of the Renishaw Group is Renishaw plc, registered in&lt;BR&gt; England no. 1106260. Registered Office: New Mills, Wotton-under-Edge, &lt;BR&gt;Gloucestershire, GL12 8JR, United Kingdom. Tel +44 (0) 1453 524524&lt;BR&gt;
--------------------------------------------------------------------------------------------------
&lt;BR&gt;&lt;/BODY&gt;
&lt;/HTML&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26888692&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26888692&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/.SlideUp%28%29-%2B-Firefox-tp26888692s27240p26888692.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26884686</id>
	<title>Re: Re: Bug in jQuery.val() in beta 1.4a2</title>
	<published>2009-12-21T23:05:39Z</published>
	<updated>2009-12-21T23:05:39Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">Just to clarify then, since jQuery already covers cases 2-4 as you're
&lt;br&gt;expecting it to and case #1 currently fails - and that case is
&lt;br&gt;decidedly not what this thread discussion started as.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Consider the following cases:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #1)
&lt;br&gt;&amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Dummy&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option value=&amp;quot;&amp;quot;&amp;gt;Empty&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  $('#x').val('')
&lt;br&gt;&amp;gt; should select the second option.
&lt;/div&gt;&lt;br&gt;Agreed.
&lt;br&gt;&lt;br&gt;&amp;gt; #2)
&lt;br&gt;&amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  $('#x').val('x')
&lt;br&gt;&amp;gt; should select the first option only.
&lt;br&gt;&lt;br&gt;Yep, as it does in 1.4.
&lt;br&gt;&lt;br&gt;&amp;gt; #3)
&lt;br&gt;&amp;gt; &amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;y&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option&amp;gt;y&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  $('#x').val('y')
&lt;br&gt;&amp;gt; should select the second option only.
&lt;br&gt;&lt;br&gt;Yep, as it does in 1.4.
&lt;br&gt;&lt;br&gt;&amp;gt; #4)
&lt;br&gt;&amp;gt; &amp;lt;select multiple id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt;  &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/select&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  $('#x').val('x')
&lt;br&gt;&amp;gt; should select the first option only, IMO. It's kind of ambiguous and
&lt;br&gt;&amp;gt; jQuery should define what it wants to do.
&lt;br&gt;&lt;br&gt;Yep, as it does in 1.4. In fact, 1.4 removes the ambiguity completely
&lt;br&gt;by only using the value with the val method, which is much better. To
&lt;br&gt;Devon: The change was very much intentional, as it was the case was
&lt;br&gt;far too ambiguous and it was causing other problems to pop up. A very
&lt;br&gt;explicit note will be made in the 1.4 release notes concerning this
&lt;br&gt;change.
&lt;br&gt;&lt;br&gt;Revisiting the logic for getting the select val it looks like the ||
&lt;br&gt;this.text was a holdover from trying to fix an IE 6 bug: If you don't
&lt;br&gt;specify a value it'll supply &amp;quot;&amp;quot; as the value instead of the option
&lt;br&gt;text. I've re-worked the logic to work uniformly in all browsers.
&lt;br&gt;&lt;br&gt;Filed and fixed: &lt;a href=&quot;http://dev.jquery.com/ticket/5697&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5697&lt;/a&gt;&lt;br&gt;&lt;br&gt;I also went through the logic for .val() on checkboxes and radios -
&lt;br&gt;the revised logic there definitely didn't make sense, especially since
&lt;br&gt;this.value will never be empty (not specifying a value will just
&lt;br&gt;result in a value of &amp;quot;on&amp;quot; - and specifying an empty value is a case we
&lt;br&gt;want to hit).
&lt;br&gt;&lt;br&gt;Filed and fixed: &lt;a href=&quot;http://dev.jquery.com/ticket/5698&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5698&lt;/a&gt;&lt;br&gt;&lt;br&gt;Of course, it would be easy if that was the case but Webkit returns &amp;quot;&amp;quot;
&lt;br&gt;if you don't specify a value attribute, instead of &amp;quot;on&amp;quot;.
&lt;br&gt;&lt;br&gt;Filed and fixed: &lt;a href=&quot;http://dev.jquery.com/ticket/5699&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5699&lt;/a&gt;&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26884686&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26884686&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-jQuery.val%28%29-in-beta-1.4a2-tp26883449s27240p26884686.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26884390</id>
	<title>jQuery.extend(true,...) may have some bugs...discussion  please?</title>
	<published>2009-12-21T22:07:09Z</published>
	<updated>2009-12-21T22:07:09Z</updated>
	<author>
		<name>John Arrowwood-4</name>
	</author>
	<content type="html">I was using objects as custom data structures for class initialization ( meaning var myWidget = new Widget( { foo: &amp;#39;bar&amp;#39; } ) ), and I needed to be able to build up a master configuration that was the combination of all of the different sources.  The idea is that I would use configuration &amp;#39;fragments&amp;#39; that were pre-defined in order to specify desired behavior.&lt;br&gt;

&lt;br&gt;So far, sounds like I should use $.extend(), right?&lt;br&gt;&lt;br&gt;Problem is, I wanted it to merge them.  So, if there is a property of the object that is itself an object, I want the properties of the copy to be merged in with ( as a deep copy ) the target.  For example: $.extend( { foo: { a: &amp;#39;a&amp;#39; } }, { foo: { b:&amp;#39;b&amp;#39; } } ) should yield { foo: { a:&amp;#39;a&amp;#39;,b:&amp;#39;b&amp;#39; } }.&lt;br&gt;

&lt;br&gt;Still sounds like $.extend, just with the optional deep copy function turned on, right?  $.extend(true,...)&lt;br&gt;&lt;br&gt;But what if one of the properties is an array?  If I have an array of, for example, event listeners already defined, and the incoming object defines ANOTHER array, what should it do?  Naturally, it should merge the two arrays, making one larger array, right?&lt;br&gt;

&lt;br&gt;And that&amp;#39;s where $.extend falls down for me.&lt;br&gt;&lt;br&gt;So, because $.extend couldn&amp;#39;t quite do what I wanted, I knew I had to write my own.  Which I did.  And I also created a bunch of test cases which define my idea of what the object-merge function should do.  My function passes all of those tests.  Yeah!  So, I then pointed those tests at $.extend(true,...).  It passes 10 out of 25 tests.  Hmmm...&lt;br&gt;

&lt;br&gt;So, I&amp;#39;m recommending that we have a discussion about $.extend(true,...) and whether or not it&amp;#39;s failure to meet my expectations is a bug, or an unreasonable expectation.  To that end, I have attached my qunit test file, and my custom merge() function definition.  I would really appreciate it if people would look over the test cases that I created, and weigh in on whether or not the expected behavior is a reasonable thing to expect out of $.extend(true,...), and if not, why not?&lt;br&gt;

&lt;br&gt;Anyone have any thoughts?&lt;br&gt;&lt;br&gt;-- &lt;br&gt;John Arrowwood&lt;br&gt;John (at) Irie (dash) Inc (dot) com&lt;br&gt;John (at) Arrowwood Photography (dot) com&lt;br&gt;John (at) Hanlons Razor (dot) com&lt;br&gt;--&lt;br&gt;&lt;a href=&quot;http://www.irie-inc.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.irie-inc.com/&lt;/a&gt;&lt;br&gt;

&lt;a href=&quot;http://arrowwood.blogspot.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://arrowwood.blogspot.com/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Marie von Ebner-Eschenbach&lt;/a&gt;  - &amp;quot;Even a stopped clock is right twice a day.&amp;quot;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26884390&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26884390&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

&lt;br /&gt; &lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;test.extend.js&lt;/strong&gt; (15K) &lt;a href=&quot;http://old.nabble.com/attachment/26884390/0/test.extend.js&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;merge.js&lt;/strong&gt; (6K) &lt;a href=&quot;http://old.nabble.com/attachment/26884390/1/merge.js&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery.extend%28true%2C...%29-may-have-some-bugs...discussion--please--tp26884390s27240p26884390.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883936</id>
	<title>Re: Bug in jQuery.val() in beta 1.4a2</title>
	<published>2009-12-21T21:01:19Z</published>
	<updated>2009-12-21T21:01:19Z</updated>
	<author>
		<name>Matt Kruse-3</name>
	</author>
	<content type="html">On Dec 21, 10:32 pm, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883936&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Agreed, the change is broken! Wasn't there a test case for the above
&lt;br&gt;&amp;gt; &amp;gt; scenario?
&lt;br&gt;&amp;gt; The previous technique was definitely not the right one to use. Cases
&lt;br&gt;&amp;gt; were coming up where the same string was being used for the value and
&lt;br&gt;&amp;gt; the text in different places and it couldn't figure out what to
&lt;br&gt;&amp;gt; select.
&lt;br&gt;&amp;gt; See the previous discussion/ticket/changeset:&lt;a href=&quot;http://groups.google.com/group/jquery-dev/browse_thread/thread/74dddc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev/browse_thread/thread/74dddc&lt;/a&gt;...
&lt;br&gt;&lt;br&gt;Looks like the quick code changed wasn't thought through enough. The
&lt;br&gt;correct algorithm needs to be decided on, rather than quick-fixing a
&lt;br&gt;bug report. It shouldn't matter whether a situation &amp;quot;makes sense&amp;quot; or
&lt;br&gt;whether someone would actually do it in practice. The specs are very
&lt;br&gt;specific about how controls should function under all scenarios,
&lt;br&gt;whether it &amp;quot;makes sense&amp;quot; or not.
&lt;br&gt;&lt;br&gt;Selecting options based on their text, regardless of value, seems to
&lt;br&gt;make the method results confusing. Because you aren't actually setting
&lt;br&gt;the value, then, you're setting some unknown value that corresponds to
&lt;br&gt;the text value that you have matched.
&lt;br&gt;&lt;br&gt;Consider the following cases:
&lt;br&gt;&lt;br&gt;#1)
&lt;br&gt;&amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Dummy&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;&amp;quot;&amp;gt;Empty&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;lt;/select&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; $('#x').val('')
&lt;br&gt;should select the second option.
&lt;br&gt;&lt;br&gt;#2)
&lt;br&gt;&amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;lt;/select&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; $('#x').val('x')
&lt;br&gt;should select the first option only.
&lt;br&gt;&lt;br&gt;#3)
&lt;br&gt;&amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;y&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option&amp;gt;y&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;lt;/select&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; $('#x').val('y')
&lt;br&gt;should select the second option only.
&lt;br&gt;&lt;br&gt;#4)
&lt;br&gt;&amp;lt;select multiple id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;x&amp;quot;&amp;gt;z&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;y&amp;quot;&amp;gt;x&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;lt;/select&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; $('#x').val('x')
&lt;br&gt;should select the first option only, IMO. It's kind of ambiguous and
&lt;br&gt;jQuery should define what it wants to do.
&lt;br&gt;&lt;br&gt;Matt Kruse
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883936&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883936&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-jQuery.val%28%29-in-beta-1.4a2-tp26883449s27240p26883936.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883787</id>
	<title>Re: Re: Bug in jQuery.val() in beta 1.4a2</title>
	<published>2009-12-21T20:32:18Z</published>
	<updated>2009-12-21T20:32:18Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">&amp;gt;&amp;gt; I can see why this optimization was done, but I think that this will
&lt;br&gt;&amp;gt;&amp;gt; cause problems for a lot of people!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Agreed, the change is broken! Wasn't there a test case for the above
&lt;br&gt;&amp;gt; scenario?
&lt;br&gt;&lt;br&gt;The previous technique was definitely not the right one to use. Cases
&lt;br&gt;were coming up where the same string was being used for the value and
&lt;br&gt;the text in different places and it couldn't figure out what to
&lt;br&gt;select.
&lt;br&gt;&lt;br&gt;See the previous discussion/ticket/changeset:
&lt;br&gt;&lt;a href=&quot;http://groups.google.com/group/jquery-dev/browse_thread/thread/74dddc2dd2195859&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev/browse_thread/thread/74dddc2dd2195859&lt;/a&gt;&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883787&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883787&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-jQuery.val%28%29-in-beta-1.4a2-tp26883449s27240p26883787.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883729</id>
	<title>Re: Bug in jQuery.val() in beta 1.4a2</title>
	<published>2009-12-21T20:18:27Z</published>
	<updated>2009-12-21T20:18:27Z</updated>
	<author>
		<name>Matt Kruse-3</name>
	</author>
	<content type="html">On Dec 21, 9:21 pm, Devon Govett &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883729&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;devongov...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; I have found a bug in the jQuery.val() function.
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; to the following in jQuery 1.4:
&lt;br&gt;&amp;gt;     this.selected = jQuery.inArray( this.value || this.text, values ) &amp;gt;= 0;
&lt;br&gt;&lt;br&gt;Indeed, this is a (probably unnoticed) change in logic.
&lt;br&gt;&lt;br&gt;Consider this:
&lt;br&gt;&lt;br&gt;&amp;lt;select id=&amp;quot;x&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Dummy&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;option value=&amp;quot;&amp;quot;&amp;gt;Empty&amp;lt;/option&amp;gt;
&lt;br&gt;&amp;lt;/select&amp;gt;
&lt;br&gt;&lt;br&gt;$('#x').val('') ==&amp;gt; Will not select the second option!
&lt;br&gt;&lt;br&gt;&amp;gt; I can see why this optimization was done, but I think that this will
&lt;br&gt;&amp;gt; cause problems for a lot of people!
&lt;br&gt;&lt;br&gt;Agreed, the change is broken! Wasn't there a test case for the above
&lt;br&gt;scenario?
&lt;br&gt;&lt;br&gt;Matt Kruse
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883729&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883729&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-jQuery.val%28%29-in-beta-1.4a2-tp26883449s27240p26883729.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883727</id>
	<title>Re: IRC</title>
	<published>2009-12-21T20:18:01Z</published>
	<updated>2009-12-21T20:18:01Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">#jquery-dev isn't very active - amusingly the most active place for
&lt;br&gt;jQuery dev discussion is #jquery-ot (for off-topic discussion). I hang
&lt;br&gt;out in there a bunch as does a bunch of people who make the yayQuery
&lt;br&gt;podcast, and others interested in jQuery.
&lt;br&gt;&lt;br&gt;Although, I'm sure they'll try to kneecap me now for mentioning that
&lt;br&gt;the channel exists.
&lt;br&gt;&lt;br&gt;Naturally #jquery is still the best place for general Q&amp;A.
&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Dec 21, 2009 at 10:14 PM, Julian Aubourg
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883727&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aubourg.julian@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I know, it'll sound silly but I've been hanging in the jquery-dev chan for
&lt;br&gt;&amp;gt; some time now and nobody talks :P
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Or am I being modded by Chanserv?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You received this message because you are subscribed to the Google Groups
&lt;br&gt;&amp;gt; &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883727&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; To unsubscribe from this group, send email to
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883727&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; For more options, visit this group at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883727&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883727&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/IRC-tp26883419s27240p26883727.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883449</id>
	<title>Bug in jQuery.val() in beta 1.4a2</title>
	<published>2009-12-21T19:21:28Z</published>
	<updated>2009-12-21T19:21:28Z</updated>
	<author>
		<name>Devon Govett</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have found a bug in the jQuery.val() function. &amp;nbsp;When you are trying
&lt;br&gt;to set the value of a select to a particular value, jQuery goes
&lt;br&gt;through all of the options in the list and checks their value and text
&lt;br&gt;properties for the passed value, checking the matched item. &amp;nbsp;In jQuery
&lt;br&gt;1.4, this looks like it has been optimized from the following in
&lt;br&gt;jQuery 1.3.2 on line 471:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; this.selected = (jQuery.inArray( this.value, values ) &amp;gt;= 0 ||
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jQuery.inArray( this.text, values ) &amp;gt;= 0);
&lt;br&gt;&lt;br&gt;to the following in jQuery 1.4:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; this.selected = jQuery.inArray( this.value || this.text, values )
&lt;br&gt;&amp;gt;= 0;
&lt;br&gt;&lt;br&gt;This does a single lookup which is great but you get very different
&lt;br&gt;results. &amp;nbsp;For example, I might have an option with a different value
&lt;br&gt;property than the display text. &amp;nbsp;For example:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;option value=&amp;quot;lbs&amp;quot;&amp;gt;pounds&amp;lt;/option&amp;gt;
&lt;br&gt;&lt;br&gt;In jQuery 1.3 I could set the selected option with either:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $(&amp;quot;select&amp;quot;).val(&amp;quot;lbs&amp;quot;);
&lt;br&gt;or:
&lt;br&gt;&amp;nbsp; &amp;nbsp; $(&amp;quot;select&amp;quot;).val(&amp;quot;pounds&amp;quot;);
&lt;br&gt;&lt;br&gt;However jQuery 1.4 used the first found property (value or text) and
&lt;br&gt;doesn't search both. &amp;nbsp;So using my example, the following would work:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; $(&amp;quot;select&amp;quot;).val(&amp;quot;lbs&amp;quot;);
&lt;br&gt;but not:
&lt;br&gt;&amp;nbsp; &amp;nbsp; $(&amp;quot;select&amp;quot;).val(&amp;quot;pounds&amp;quot;);
&lt;br&gt;&lt;br&gt;because both properties are found, and only the first one is searched.
&lt;br&gt;&lt;br&gt;I can see why this optimization was done, but I think that this will
&lt;br&gt;cause problems for a lot of people!
&lt;br&gt;&lt;br&gt;Devon
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883449&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883449&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-jQuery.val%28%29-in-beta-1.4a2-tp26883449s27240p26883449.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883419</id>
	<title>IRC</title>
	<published>2009-12-21T19:14:43Z</published>
	<updated>2009-12-21T19:14:43Z</updated>
	<author>
		<name>jaubourg</name>
	</author>
	<content type="html">I know, it&amp;#39;ll sound silly but I&amp;#39;ve been hanging in the jquery-dev chan for some time now and nobody talks :P&lt;br&gt;&lt;br&gt;Or am I being modded by Chanserv?&lt;br&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883419&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883419&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/IRC-tp26883419s27240p26883419.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883317</id>
	<title>Re: jQuery 1.4 $.param demystified</title>
	<published>2009-12-21T18:58:26Z</published>
	<updated>2009-12-21T18:58:26Z</updated>
	<author>
		<name>dave.methvin</name>
	</author>
	<content type="html">I forgot to mention, I can put together a patch for this.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883317&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883317&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-1.4-%24.param-demystified-tp26875923s27240p26883317.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883309</id>
	<title>Re: jQuery 1.4 $.param demystified</title>
	<published>2009-12-21T18:56:29Z</published>
	<updated>2009-12-21T18:56:29Z</updated>
	<author>
		<name>dave.methvin</name>
	</author>
	<content type="html">&amp;gt; Does this mean that the default mechanism now changed, so that code
&lt;br&gt;&amp;gt; which used to work will silently start failing?
&lt;br&gt;&lt;br&gt;Yeah, I have some concerns about this. It's great to have $.param
&lt;br&gt;facilitate PHP-friendly serialization, but I'd like to see the default
&lt;br&gt;reversed to avoid breaking existing code.
&lt;br&gt;&lt;br&gt;&amp;gt; The argument that &amp;quot;this helps PHP&amp;quot; could be countered by &amp;quot;this hurts
&lt;br&gt;&amp;gt; java servlets&amp;quot;, where request.getParameterValues(&amp;quot;a&amp;quot;) already returns
&lt;br&gt;&amp;gt; an array for a (as in jQuery &amp;lt; 1.4), but needs to change for jQuery
&lt;br&gt;&amp;gt; 1.4.
&lt;br&gt;&lt;br&gt;This also breaks existing server ASP code, which already understands
&lt;br&gt;that multiple params with the same name should be turned into an
&lt;br&gt;array.
&lt;br&gt;&lt;br&gt;Just another thought here; the flag being added is global, but it's
&lt;br&gt;quite possible a page may be communicating with different hosts that
&lt;br&gt;have different requirements. If different plugins have different needs
&lt;br&gt;then it could get really messy having them bang around the same global
&lt;br&gt;flag.
&lt;br&gt;&lt;br&gt;Either as an alternative or addition to a global flag, .ajaxSettings,
&lt;br&gt;the .ajax() options parameter, .param(), .serialize() and
&lt;br&gt;serializeArray() could support an optional argument to decide how to
&lt;br&gt;serialize the data.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883309&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883309&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-1.4-%24.param-demystified-tp26875923s27240p26883309.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26883088</id>
	<title>Re: jQuery require and script loaders</title>
	<published>2009-12-21T18:23:31Z</published>
	<updated>2009-12-21T18:23:31Z</updated>
	<author>
		<name>jaubourg</name>
	</author>
	<content type="html">OK, so I finally got time to write some docs &amp;amp; unit tests for my own baby... and here comes Dominoes:&lt;br&gt;&lt;a href=&quot;http://code.google.com/p/javascript-dominoes/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/javascript-dominoes/&lt;/a&gt;&lt;br&gt;&lt;br&gt;
See the Wiki pages to get an idea of what it is capable of (quite the wall of text there but heh).&lt;br&gt;&lt;br&gt;It is more of a general purpose &amp;quot;scheduler&amp;quot; and provides some nice features like property expansion, global dependency rules, etc, etc. It is browser agnostic in the spirit of sizzle.&lt;br&gt;
&lt;br&gt;Only 4kB minified but the google compiler breaks the code (I didn&amp;#39;t have time to investigate why).&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/21 John Resig &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeresig@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Hi James -&lt;br&gt;
&lt;br&gt;
There&amp;#39;s definitely room for collaboration here. As I mentioned in the&lt;br&gt;
comments on the commit I&amp;#39;m planning on holding off on jQuery.require()&lt;br&gt;
until post-1.4 so that we can really get it right and hopefully&lt;br&gt;
standardize a bit. I&amp;#39;ll ping you again after the 1.4 dust has settled&lt;br&gt;
and we can discuss it some more.&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;
--John&lt;br&gt;
&lt;/font&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
On Wed, Dec 16, 2009 at 7:16 PM, James Burke &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jrburke@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt; I heard about the jQuery require that is shown as part of this&lt;br&gt;
&amp;gt; changeset:&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://github.com/jquery/jquery/commit/998cb005fc378188b3bae319e391d1b7881b7ad2&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://github.com/jquery/jquery/commit/998cb005fc378188b3bae319e391d1b7881b7ad2&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I work on Dojo&amp;#39;s module loader, and have a new standalone (no other&lt;br&gt;
&amp;gt; library dependency) script loader here:&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://code.google.com/p/runjs/wiki/RunJs&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/runjs/wiki/RunJs&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The goal is to keep RunJS compatible with the goals of CommonJS&lt;br&gt;
&amp;gt; (avoiding globals mainly) but still allow for a module syntax that&lt;br&gt;
&amp;gt; works well natively in the browser. It does not use XHR calls, just&lt;br&gt;
&amp;gt; script tags. Works before page load and after page load.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; It also handles loading regular scripts that are not coded as modules:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; run([&amp;quot;some/script.js&amp;quot;, &amp;quot;another/script.js&amp;quot;], function() {&lt;br&gt;
&amp;gt;    //This callback is fired when both scripts load&lt;br&gt;
&amp;gt; });&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; For scripts that do follow the module syntax and have dependencies, it&lt;br&gt;
&amp;gt; properly traces the module dependencies and calls the module&lt;br&gt;
&amp;gt; definition functions in the correct order.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; It would be ideal if more of the JS libraries started to standardize&lt;br&gt;
&amp;gt; on a script loader. I am happy to work out changes to RunJS if jQuery&lt;br&gt;
&amp;gt; might find it useful to use. For instance, the entry point does not&lt;br&gt;
&amp;gt; have to be called run(), I am considering switching to script() since&lt;br&gt;
&amp;gt; it handles general script loading and callbacks when scripts are&lt;br&gt;
&amp;gt; loaded.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; It also might be good to pull out a script loader from the core jQuery&lt;br&gt;
&amp;gt; library, if only to keep the separation of concerns easier to track.&lt;br&gt;
&amp;gt; RunJS has plugins for i18n string bundle loading, and also can load&lt;br&gt;
&amp;gt; text files (like HTML snippets) via async xhr, then inline those text&lt;br&gt;
&amp;gt; files as part of a build process.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; But I may be misunderstanding the scope of jQuery&amp;#39;s require. In any&lt;br&gt;
&amp;gt; case, I just wanted to see if there was some common interest and if we&lt;br&gt;
&amp;gt; might be able to coordinate our efforts.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks for your time,&lt;br&gt;
&amp;gt; James Burke&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.&lt;br&gt;
&amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br&gt;
&amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev%2Bunsubscribe@...&lt;/a&gt;.&lt;br&gt;
&amp;gt; For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.&lt;br&gt;
To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br&gt;
To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev%2Bunsubscribe@...&lt;/a&gt;.&lt;br&gt;
For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;--&lt;/p&gt;

You received this message because you are subscribed to the Google Groups &quot;jQuery Development&quot; group.&lt;br /&gt;

To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.&lt;br /&gt;

To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26883088&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.&lt;br /&gt;

For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en.&lt;br /&gt;

</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/jQuery-require-and-script-loaders-tp26822733s27240p26883088.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26881849</id>
	<title>Re: Re: too much recursion error - jQuery 1.4a2</title>
	<published>2009-12-21T15:38:40Z</published>
	<updated>2009-12-21T15:38:40Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">Thanks for the link Mike, I'll check in to this. I'm starting to
&lt;br&gt;wonder if it has to do with the recent .one() rewrite.
&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Dec 21, 2009 at 6:33 PM, Mike Alsup &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881849&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;malsup@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Huh, haven't seen anything like this, off-hand. Do you have a page
&lt;br&gt;&amp;gt;&amp;gt; that we can look at?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://dev.jquery.com/ticket/5688&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5688&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881849&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881849&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881849&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881849&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/too-much-recursion-error---jQuery-1.4a2-tp26879816s27240p26881849.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26881787</id>
	<title>Re: too much recursion error - jQuery 1.4a2</title>
	<published>2009-12-21T15:33:02Z</published>
	<updated>2009-12-21T15:33:02Z</updated>
	<author>
		<name>malsup</name>
	</author>
	<content type="html">&amp;gt; Huh, haven't seen anything like this, off-hand. Do you have a page
&lt;br&gt;&amp;gt; that we can look at?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://dev.jquery.com/ticket/5688&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dev.jquery.com/ticket/5688&lt;/a&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881787&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881787&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/too-much-recursion-error---jQuery-1.4a2-tp26879816s27240p26881787.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26881746</id>
	<title>Re: Re: unusual bug with .attr(&quot;size&quot;)</title>
	<published>2009-12-21T15:26:49Z</published>
	<updated>2009-12-21T15:26:49Z</updated>
	<author>
		<name>John Resig</name>
	</author>
	<content type="html">That's not the right nightly file - the current nightly is here:
&lt;br&gt;&lt;a href=&quot;http://code.jquery.com/jquery-nightly.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.jquery.com/jquery-nightly.js&lt;/a&gt;&lt;br&gt;&lt;br&gt;But even that is trailing a bit, the latest build is:
&lt;br&gt;&lt;a href=&quot;http://code.jquery.com/jquery-1.4a2.js&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.jquery.com/jquery-1.4a2.js&lt;/a&gt;&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Dec 21, 2009 at 6:10 PM, weepy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jonahfox@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I was using the nightly
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; here's some HTML u can copy and paste to reproduce
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;script src='&lt;a href=&quot;http://code.jquery.com/nightlies/jquery-nightly.js'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.jquery.com/nightlies/jquery-nightly.js'&lt;/a&gt;&amp;gt;&amp;lt;/
&lt;br&gt;&amp;gt; script&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;div id=x&amp;gt;&amp;lt;/div&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;p&amp;gt;This should log: 1,1,undefined, 40&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;div id=output&amp;gt;&amp;lt;/div&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;script&amp;gt;
&lt;br&gt;&amp;gt; $().ready(function(){
&lt;br&gt;&amp;gt;  console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;size&amp;quot;))
&lt;br&gt;&amp;gt;  $(&amp;quot;#x&amp;quot;).attr(&amp;quot;size&amp;quot;, 40)
&lt;br&gt;&amp;gt;  console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;size&amp;quot;))
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;zize&amp;quot;))
&lt;br&gt;&amp;gt;  $(&amp;quot;#x&amp;quot;).attr(&amp;quot;zize&amp;quot;, 40)
&lt;br&gt;&amp;gt;  console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;zize&amp;quot;))
&lt;br&gt;&amp;gt; })
&lt;br&gt;&amp;gt; &amp;lt;/script&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 21 Dec, 16:45, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; What version of jQuery 1.4? This sounds like an issue that was fixed in 1.4a2.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --John
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Dec 21, 2009 at 5:29 AM, weepy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jonah...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Worked with 1.3.2
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; now .attr(&amp;quot;size&amp;quot;) returns 1 whether it's been set or not
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $(&amp;quot;x&amp;quot;).attr(&amp;quot;size&amp;quot;) =&amp;gt; 1
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $(&amp;quot;x&amp;quot;).attr(&amp;quot;size&amp;quot;, 40)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $(&amp;quot;x&amp;quot;).attr(&amp;quot;size&amp;quot;) =&amp;gt; 1
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; and no attribute seems to appear on the element.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; For more options, visit this group athttp://groups.google.com/group/jquery-dev?hl=en.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881746&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unusual-bug-with-.attr%28%22size%22%29-tp26872164s27240p26881746.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26881602</id>
	<title>Re: unusual bug with .attr(&quot;size&quot;)</title>
	<published>2009-12-21T15:10:15Z</published>
	<updated>2009-12-21T15:10:15Z</updated>
	<author>
		<name>weepy</name>
	</author>
	<content type="html">I was using the nightly
&lt;br&gt;&lt;br&gt;here's some HTML u can copy and paste to reproduce
&lt;br&gt;&lt;br&gt;&amp;lt;script src='&lt;a href=&quot;http://code.jquery.com/nightlies/jquery-nightly.js'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.jquery.com/nightlies/jquery-nightly.js'&lt;/a&gt;&amp;gt;&amp;lt;/
&lt;br&gt;script&amp;gt;
&lt;br&gt;&amp;lt;div id=x&amp;gt;&amp;lt;/div&amp;gt;
&lt;br&gt;&amp;lt;p&amp;gt;This should log: 1,1,undefined, 40&amp;lt;/p&amp;gt;
&lt;br&gt;&amp;lt;div id=output&amp;gt;&amp;lt;/div&amp;gt;
&lt;br&gt;&amp;lt;script&amp;gt;
&lt;br&gt;$().ready(function(){
&lt;br&gt;&amp;nbsp; console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;size&amp;quot;))
&lt;br&gt;&amp;nbsp; $(&amp;quot;#x&amp;quot;).attr(&amp;quot;size&amp;quot;, 40)
&lt;br&gt;&amp;nbsp; console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;size&amp;quot;))
&lt;br&gt;&lt;br&gt;&amp;nbsp; console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;zize&amp;quot;))
&lt;br&gt;&amp;nbsp; $(&amp;quot;#x&amp;quot;).attr(&amp;quot;zize&amp;quot;, 40)
&lt;br&gt;&amp;nbsp; console.log($(&amp;quot;#x&amp;quot;).attr(&amp;quot;zize&amp;quot;))
&lt;br&gt;})
&lt;br&gt;&amp;lt;/script&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On 21 Dec, 16:45, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881602&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; What version of jQuery 1.4? This sounds like an issue that was fixed in 1.4a2.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --John
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Dec 21, 2009 at 5:29 AM, weepy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881602&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jonah...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Worked with 1.3.2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; now .attr(&amp;quot;size&amp;quot;) returns 1 whether it's been set or not
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; $(&amp;quot;x&amp;quot;).attr(&amp;quot;size&amp;quot;) =&amp;gt; 1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; $(&amp;quot;x&amp;quot;).attr(&amp;quot;size&amp;quot;, 40)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; $(&amp;quot;x&amp;quot;).attr(&amp;quot;size&amp;quot;) =&amp;gt; 1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; and no attribute seems to appear on the element.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881602&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881602&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group athttp://groups.google.com/group/jquery-dev?hl=en.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881602&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26881602&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/unusual-bug-with-.attr%28%22size%22%29-tp26872164s27240p26881602.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26880555</id>
	<title>Re: too much recursion error - jQuery 1.4a2</title>
	<published>2009-12-21T13:42:40Z</published>
	<updated>2009-12-21T13:42:40Z</updated>
	<author>
		<name>Aaron-137</name>
	</author>
	<content type="html">Links to test pages:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://dl.dropbox.com/u/11686/bl/test-jQuery-1.4a1.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dl.dropbox.com/u/11686/bl/test-jQuery-1.4a1.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://dl.dropbox.com/u/11686/bl/test-jQuery-1.4a2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://dl.dropbox.com/u/11686/bl/test-jQuery-1.4a2.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The pages are identical other than the version of jQuery they're
&lt;br&gt;using. I stripped out all of the page content and extraneous
&lt;br&gt;JavaScript. I still get a &amp;quot;too much recursion&amp;quot; error on line 1486 in
&lt;br&gt;the error console when I use jQuery 1.4a2. The same page using jQuery
&lt;br&gt;1.4a1 instantiates the tabs as expected.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Aaron
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Dec 21, 1:01 pm, John Resig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26880555&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jere...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Huh, haven't seen anything like this, off-hand. Do you have a page
&lt;br&gt;&amp;gt; that we can look at?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --John
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Dec 21, 2009 at 3:03 PM, Aaron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26880555&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;floo...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; I'm using jQuery 1.4a2 with jQuery UI 1.7.2. Creating tabs worked with
&lt;br&gt;&amp;gt; &amp;gt; jQuery 1.3.2 as well as 1.4a1. Attempting to run $('#tabs').tabs()
&lt;br&gt;&amp;gt; &amp;gt; with 1.4a2 results in a 'too much recursion' error. I'm not doing
&lt;br&gt;&amp;gt; &amp;gt; anything fancy - just instantiating the tabs with a couple options.
&lt;br&gt;&amp;gt; &amp;gt; Firebug reports the problem is on line 1486 in the Proxy function,
&lt;br&gt;&amp;gt; &amp;gt; though I don't know enough about the internals of jQuery to verify if
&lt;br&gt;&amp;gt; &amp;gt; this is indeed the case.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Has anyone else experienced this issue or does anyone have an idea of
&lt;br&gt;&amp;gt; &amp;gt; what might be going on?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt; To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26880555&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26880555&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt; For more options, visit this group athttp://groups.google.com/group/jquery-dev?hl=en.
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;jQuery Development&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26880555&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev@...&lt;/a&gt;.
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26880555&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jquery-dev+unsubscribe@...&lt;/a&gt;.
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/jquery-dev?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/jquery-dev?hl=en&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/too-much-recursion-error---jQuery-1.4a2-tp26879816s27240p26880555.html" />
</entry>

</feed>
