Hi, I'm wondering if anyone might be able to shed some light on this
situation.
I have been using jQuery 1.2.6 to parse XML and find specific nodes.
However, when I simply change the jQuery version to 1.3.2 the
following fails to work in IE, though still continues to work fine in
Firefox. Below
I'm new to jQuery and what I am trying to do is take the XML response
below and obtain the src attribute from each image. I then want to
append that value to an array which can be used later. Now my issue is
when it gets to
Code:
$('response', returnedXMLResponse).each(function(){ ... }
it only
The following example works great in Firefox, and Chrome but fails
miserably in IE (6,7,8). I'm running JQuery 1.3.2 if it makes a
difference:
$('resp',"value").text();
That evaluates to "vaule" in everything except IE. Am I missing
something?
I'm new to jquery and I'm trying to do a simple xml parse.
When I use the .each() to get the tags, if there is more than one tag
in the file, nothing more in the script gets processed. In the code
below, you'll see two alerts. If I comment out the .each() line I get
both alerts. If I leave it in,
hello,
I'm trying to parse some info from an XML file with a filter to get
only one part of a the infos.
it doesn't seem to work.
can someone help.
here is my code:
function getImageName(marque) {
$.get("xml/listeProduits.xml",{},function(xml){
// Build an
Hi,
Some hours that I don't understand why this basic Xml parsing with
JQuery doesn't work:
$(document).ready(function() {
var xml = 'Hello World!';
alert($("p", xml).text());
});
I get an empty string, instead of the expected Hello Wor
Thanks, David! :)
Your example helped me a lot to find a solution! The problem was
somewhere other.
That xml file is generateв with PHP-script. But forget to send the
right header using header("Content-Type: text/xml; charset=utf-8");
before XML contents output! Realy stupid mistake!
I have a problem, couldn't solve it for a long time.
I have the following XML file, returned from ajax:
1
Varvarka, 1
1
2
Nikolskaya, 1
2
3
Varvarka, 3
3
And I wanna get the value of 'city_id' element of the each element
'building'.
my xml looks something like:
the bio
the votes
another bio
likewise, another vote
I'm new to jquery. I'd like to place these in an array so I can access
votes/bio easily and separately. at the moment, jquery is returning it
like this: "the bioanoth
All,
if i have an xml file like this
and i wanted to extract out the value for each name in the field, how
can i do it?
$("Field").attr(value)
10 matches
Mail list logo