Re: [jQuery] Setting AJAX headers, and selecting namespaced nodes

2006-08-21 Thread Mike Alsup
That would be a nice addition. Has there been any discussion of having jQuery automatically use: X-Requested-With: XMLHttpRequest It already does. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Setting AJAX headers, and selecting namespaced nodes

2006-08-21 Thread Jason Huck
malsup wrote: That would be a nice addition. Has there been any discussion of having jQuery automatically use: X-Requested-With: XMLHttpRequest It already does. Excellent! One more reason to keep using it. -- View this message in context:

Re: [jQuery] Setting AJAX headers, and selecting namespaced nodes

2006-08-20 Thread Jason Huck
Mitchell Lane wrote: This would allow the programmer to set and override their own HTTP headers. That would be a nice addition. Has there been any discussion of having jQuery automatically use: X-Requested-With: XMLHttpRequest ...in the headers of its AJAX calls? There's a few different

Re: [jQuery] Setting AJAX headers, and selecting namespaced nodes

2006-08-18 Thread Mitchell Lane
I've pinpointed both my issues, and would like to propose the following changes: In jquery/jquery.js, line 356, replace: $.g = { '': m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase(), with: $.g = { '': m[2] == '*' || a.localName.toUpperCase() == m[2].toUpperCase(), This would allow