Thanks for the help Shawn! Works great!
On Jan 21, 3:38 am, Shawn <[EMAIL PROTECTED]> wrote:
> I did it in this way
> // jquery version: 1.2.1 packed
> if($.browser.msie){// in ie6
> $xml=""+$response+"";// .. is needed for
> ie6}else{
>
> $xml=$xml.replace("]]>","").replace("
I did it in this way
// jquery version: 1.2.1 packed
if($.browser.msie){// in ie6
$xml=""+$response+"";// .. is needed for
ie6
}else{
$xml=$xml.replace("]]>","").replace("
That doesn't work for me. I get an error saying "length is null or
not an object", because the $(path,xml) call did not return a result
(I tried calling this outside of the for loop boundary to check this).
I've made the problem even simpler, maybe this will point to what I'm
doing wrong. This
personally, i love using jquery thusly for parsing xml
var xml = data;
var path = "subscr.Subscriber>subscriberId";
for (var i=0;i<$(path,xml).length;i++){
alert( $(""+path+":eq("+i+")").text() )
}
On Jan 4, 3:09 pm, Jamie <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I am attemptin
4 matches
Mail list logo