Hi,

I've been working on a project that uses xml. But for some reason, it
does not work in internet explorer. And after hours and hours of
debugging, I cannot figure out why. I would deeply appreciate it if
you could help me. I hope this isn't asking too much, but what is
wrong from the code below? (I'm hoping I'm just blind and someone sees
it right away)

$(function() {

             $.ajax({
                 type: "GET",
                 url: "videos.xml",
                 dataType: "xml",
                 success: function(xml) {

                     $(xml).find('item').each(function(){
                         var thumb = $(this).children
("description").text();
                                                 var title = 
$(this).children("title").text();
                                                 var text = 
$(this).children("content").text();
                                                 var link = 
$(this).children("link").text();
                         $('<div class="panel-preview"></div>')
                             .html( thumb + '<h1>' + title + '</
h1><p>' + text + '</p><a class="articlelink" title="Click here to
watch the video here">Watch</a><br><a href="' + link + '"
class="articlelink" title="Click here to read more">View Article</a>')
                             .appendTo('.accordion-padding');
                     }); //close each(
                 }
             }); //close $.ajax(



     }); //close $(



Thankyou very much,

Connor

Reply via email to