[jquery-dev] Update the DOM prompting page refreshes, flicker to "get correct calculations"?

2010-01-06 Thread average_user
Hi, I noticed that in the nightly builds, the function jQuery.swap() is still used internally in the jQuery.css() function to get the dimensions of an element. It hurts to see this unbelievable hack, apart from the obvious consequences: http://dev.jquery.com/ticket/5743 This function is used int

Re: [jquery-dev] ajax form plugin submit button

2010-01-06 Thread Scott Sauyet
On Tue, Jan 5, 2010 at 10:21 AM, Alex wrote: > I have a problem submitting a form tag with submit buttons. many of > the scripts used in that page require the name of these submit buttons > to work correctly. This group is for discussing the development of jQuery itself. You'll probably have bet

Re: [jquery-dev] native JSON in 1.4 will be needing an IE8 workaround...

2010-01-06 Thread John Resig
How are you hitting this issue in jQuery? jQuery never uses JSON.stringify, only JSON.parse. We don't really like overwriting native methods - especially ones that we don't use - to fix bugs. --John On Wed, Jan 6, 2010 at 12:46 AM, Leeoniya wrote: > for some reason my github commit comments a

[jquery-dev] Re: IE8 JSON.stringify bug

2010-01-06 Thread DBJDBJ
Sorry ... here is the proper cross browser version: if ( ("undefined" !== typeof JSON) && (JSON.stringify(document.createElement("input").value)!== "" ) ) {   var _stringify = JSON.stringify;  JSON.stringify = function(o, f, s){      return _stringify(o === "" ? "" : o , f, s);  

[jquery-dev] IE8 JSON.stringify bug

2010-01-06 Thread DBJDBJ
John, I was wondering if You would like to add to 1.4, this simple solution, for the IE8 JSON.stringify bug, as described here: http://blogs.msdn.com/jscript/archive/2009/06/23/serializing-the-value-of-empty-dom-elements-using-native-json-in-ie8.aspx if (JSON.stringify(document.createElement("in