On Sep 21, 2008, at 1:39 AM, sglai wrote:

> $.ajax({
>       type:"GET",
>       url:"file.xml",
>       async:false,
>       success:function(xml){
>                 $("tag_in_file", xml).each(function(i){
>                       // do something;
>                 });
>       },
>       dataType:"xml",  // <-- remove this comma
> });


One other thing that hasn't been mentioned yet is that you ought to  
remove the last comma. It'll throw an error in IE (maybe Safari, too?)  
if you don't.


--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to