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
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]
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:
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
/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
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
6 matches
Mail list logo