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

2010-01-05 Thread Leeoniya
for some reason my github commit comments are not showing up except in the RSS feed...so re-posting here. Comment in ff3645e: i've run into a known IE8 issue in the past with its native parser's inability to serialize empty values of DOM elements. details here: http://tinyurl.com/m2j294 just a

Re: [jquery-dev] Re: Any thought on Event filter?

2010-01-05 Thread Clifford Heath
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/01/2010, at 10:36 AM, Mark Gibson wrote: I quite agree that this should remain a plugin. It seems to me that you're discussing a Rolls-Royce key event handler, when what's needed is a simple bicycle. Key events are very different in different

[jquery-dev] Drag and Drop library for Raphael

2010-01-05 Thread Clifford Heath
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folk, I'm kinda new to jQuery, but have recently written a specialised diagram editing tool using jQuery and Raphael, and my Raphael drag&drop library is now very competent and, I believe, quite complete in the kinds of usage it allows. For examp

Re: [jquery-dev] Re: Any thought on Event filter?

2010-01-05 Thread Mark Gibson
I quite agree that this should remain a plugin. I'm not sure how using the object would help things though, that just looks over complicated to me. The advantages of the "key:ctrl-x" style namespaces is that it clearly indicates the key combo in the binding, and can be used for unbinding. It can

Re: [jquery-dev] Re: Any thought on Event filter?

2010-01-05 Thread Rick Waldron
I think what you're doing is interesting, however I dont think it has a place in jquery's core. Also, my advice would be to change the arg var type from a string with all that syntax-y cruft to an object. var handler_rules_obj = { keypress: { set : ['ctrl','shift','z'] } }; $(...).bin

Re: [jquery-dev] Re: Any thought on Event filter?

2010-01-05 Thread Mark Gibson
It may be easy enough for simple, single key presses. When modifiers are involved it starts to complicate things. Also a lot of people forget to check for modifiers. For example, you may not want Ctrl+Up to act in the same way as Up on its own, but a lot of key press handler code neglects to ensure

[jquery-dev] ajax form plugin submit button

2010-01-05 Thread Alex
Hello everyone, 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. I already read about the serialize function and submit buttons so tried the form plugin as suggested on the jQuery page but

Re: [jquery-dev] REVISED GOALS - Feature Request: $.ajax(): Detect json via response header

2010-01-05 Thread webbiedave
OK. Not sure where we're at on this but I'm hoping some sort of consensus can be achieved. Here are the approaches being bandied about to allow auto-detect of json (and perhaps other dataTypes): 1) Allow $.ajax() to accept multiple expected data types, i.e., dataTypes: ['json', 'html']. jQuery w

[jquery-dev] Re: Any thought on Event filter?

2010-01-05 Thread Jeremy Chone
Fair point. However, the same argument could have been made about the DOM selector/filter syntax. Jeremy, On Jan 4, 12:04 pm, ajpiano wrote: > This strikes me as almost a little bit too much sugar...to streamline > this type of binding/filtering, I tend to think it might just be > easier to per

Re: [jquery-dev] Re: Performance issues using $.ajax async

2010-01-05 Thread John Resig
I've already landed the changes discussed (tweaking the logic - I landed the wrong patch, missed the '!') and making sure that there's a try/catch. http://github.com/jquery/jquery/commit/3f648c4e3abe236b8ec6a19822313be794e5a9df I tested in Firefox, IE 6 & 7 with ActiveX disabled. IE 6 just stops

[jquery-dev] Re: Performance issues using $.ajax async

2010-01-05 Thread Matt
On Jan 5, 10:04 am, John Resig wrote: > The current logic is imperfect (in that, theoretically, someone could > be trying to use jQuery on a local file, in IE 7, with ActiveX > disabled and it would error out) but for now that's something that I > can live with. Why live with it? It fails in IE6

Re: [jquery-dev] Re: Performance issues using $.ajax async

2010-01-05 Thread Sam Collett
The security bar appears whenever you use any script (JScript or VBScript etc) in a web page run locally (My Computer zone), even if it is just a simple 'alert(location.href)'. I think this only appears after the 'Eolas patch' done in April 2006 (which required users to click to activate ActiveX, u

[jquery-dev] Re: jQuery forward compatibility issues

2010-01-05 Thread dotnetCarpenter
Same issue with css property clip from CSS2.. http://www.w3.org/TR/CSS21/visufx.html#clipping -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group,

[jquery-dev] Re: Performance issues using $.ajax async

2010-01-05 Thread Matt
On Jan 5, 10:04 am, John Resig wrote: > The current logic is imperfect (in that, theoretically, someone could > be trying to use jQuery on a local file, in IE 7, with ActiveX > disabled and it would error out) but for now that's something that I > can live with. It will still fail in IE6 with Act

Re: [jquery-dev] jQuery Foundation timelines?

2010-01-05 Thread John Resig
jQuery is already in the Software Freedom Conservancy (they host all our finances, for example). The code base, however, is not - that's going to take a significant amount of time and legal work to make it happen. /Maybe/ it might happen this year, but that's really hard to foresee. To your client

Re: [jquery-dev] Re: Performance issues using $.ajax async

2010-01-05 Thread John Resig
Sam is correct here - IE 7 fails to request local files using the traditional method. I also agree with your note about trying to use ActiveX, especially when it's disabled. Adapting his code a little bit I was able to come up with a solution and land it: http://github.com/jquery/jquery/commit/b228

[jquery-dev] jQuery Foundation timelines?

2010-01-05 Thread Justin Meyer
It was mentioned at jQCon that jQuery was going to be under a foundation (like Dojo). I've got a client (a Microsoft Shop), that is anxiously waiting for this. Any word on when this is going to happen? I'd also like to move JavaScriptMVC's code into the jQuery foundation. Will this be possible?

Re: [jquery-dev] Re: Performance issues using $.ajax async

2010-01-05 Thread Sam Collett
Hi, >From what I recall from a few years back, XMLHttpRequest asynchronous requests do not work with local files, which I think may be the reason why ActiveX is used. Maybe check if it is being used on a local page (not tested), e.g. xhr: function() { if (location.protocol !== "file:" && window.

[jquery-dev] Re: Performance issues using $.ajax async

2010-01-05 Thread Matt
On Dec 31 2009, 1:52 pm, John Resig wrote: > Landed and closed:http://dev.jquery.com/ticket/5735 John, good to see this change in jQuery. Another ajax area that needs attention is the xhr creation: // Create the request object; Microsoft failed to properly // implement the XMLHttpRequest in IE7

[jquery-dev] jQuery 1.4a2 - Webkit table, replaceWith(), width() issues

2010-01-05 Thread Peter
Hi, I'm developing an application with jQuery 1.4a2, but I've found a bug which was introduced in 1.4, because 1.3.2 release works well. First the testcases: jQuery 1.3.2 version: http://gamca.informacie.sk/betatest/webkit_table/index_1-3-2.html jQuery 1.4a2 version: http://gamca.informacie.sk/

[jquery-dev] Multiple Row Drag & Drop Functionality

2010-01-05 Thread Nilesh
Can any one help me with this plug ins http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/ In this plug ins user can drag and drop only one row, my need is to drag and drop Multiple row. Thanks Nilesh J. Macwan -- You received this message because you are subscribed to the Google