[jQuery] Re: 'Type mismatch' trying to append to XML node

2007-07-23 Thread Andy Martone
I'm having a similar problem in IE. However, my code looks like this (using your syntax for creating the XML document): var hiNode = $(hi, xml); hiNode.text(foo); When I run this in Firefox, the hi node in the XML document gets a text node with a value of foo appended to it. However, I get a

[jQuery] Re: IE misinterpreting HTTP status code 204 as 1223

2007-08-01 Thread Andy Martone
/07, Andy Martone [EMAIL PROTECTED] wrote: I've come across some strange behavior in IE7. Sometimes when an XmlHttpRequest receives a 204 (No Content) HTTP status code on the response, IE sets the XmlHttpRequest object's status property to 1223. In my code, this seems to be happening

[jQuery] Re: AjaxStart and AjaxStop only on certain requests

2007-08-23 Thread Andy Martone
Set global to false in the properties object you pass to $.ajax(): http://docs.jquery.com/Ajax#.24.ajax.28_properties_.29 On Aug 23, 10:42 am, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Hi, I'm using this piece of code: $().ajaxStart(showblock).ajaxStop(hideblock); To show and hide

[jQuery] Re: sending xml using $ajax()

2007-08-30 Thread Andy Martone
I've used LiveHTTPHeaders to inspect XML payloads in POST requests, since they don't show up in Firebug. You may want to give that a shot: http://livehttpheaders.mozdev.org/ On Aug 30, 11:22 am, ekene [EMAIL PROTECTED] wrote: $.ajax({ contentType: 'text/xml', dataType:

[jQuery] Re: append[To] throwing and error when attempting to append to document outside of current window in Internet Explorer

2007-09-01 Thread Andy Martone
Dallas: IE doesn't allow elements created in one document to be appended to another document. Firefox 2 allows it, but apparently Firefox 3 will not. There's an open ticket for this, hopefully it gets fixed soon: http://dev.jquery.com/ticket/1419 On Aug 31, 4:16 pm, Dallas [EMAIL PROTECTED]

[jQuery] Re: Localization and using JQuery

2007-09-19 Thread Andy Martone
Yes, you can use jQuery to select nodes out of an XML document as you would out of the HTML DOM. We are using a similar technique for client-side i18n in our application. $(SomeNode, someDoc) returns all the SomeNode elements inside someDoc. You may find the XPath plugin to be helpful to