>>>>>>> no, I have a yp server that is used by a bunch of radio stations >>>>>>> (yp.krushradio.com) >>>>>>> the website will be on either ww2.krushradio.com or >>>>>>> www.krushradio.com... not sure yet. >>>>>>> I see what you mean about cross domain scripting.. I totally forgot >>>>>>> about that. I usually allow it in my IE settings. >>>>>>> I'll keep hunting them down. Thanks.
On Feb 27, 6:48 am, Mike Alsup <mal...@gmail.com> wrote: > > I pulled this from a website and modified it to work on mine. I'm > > using jQuery 1.3.2, btw... > > For the life of me, i cannot get it to pull the xml data from > > getstream.aspx. if you open it up in a browser, it shows as perfect > > xml. If i parse it with straight php, it works, but i want to use the > > jQuery Library with an ajax refresh. > > > Am I screwing something up, or is there something I don't know about > > when using a website source vs. a local source. > > $.ajax({ > > type: "GET", > > url: > > "http://yp.krushradio.com/getstream.aspx?stream=stream", > > dataType: "xml", > > success: function(xml) { > > > > $(xml).find('activesong').each(function(){ > > var stream = > > $(this).find('servername'); > > var title = > > $(this).find('songname').text(); > > var genre = > > $(this).find('servergenre').text(); > > $('<div > > class="TrackListing"></div>').html(stream+'<br>'+title > > +'<br>'+genre+'<br>').appendTo('#page-wrap'); > > }); > > } > > }); > > }); > > Is krushradio.com the same site that has this html page on it? AJAX > cannot be used in an x-domain environment - browser security prevents > it. Are you using Firefox/Firebug? Do you see errors in the console?- Hide > quoted text - > > - Show quoted text -