$.getScript callback function won't work?
<p>Im trying to implement <a href="http://911-need-code-help.blogspot.co.il/2010/01/retrieve-youtube-video-title.html" rel="nofollow">this</a> example, but with "$.getScript":  and for some reason, it wont work....</p>

<p>this is my code :</p>

<pre><code>function youtubeFeedCallback(data) {
    var s = '';
    s += '&lt;img src="' + data.entry.media$group.media$thumbnail[0].url + '" width="' + data.entry.media$group.media$thumbnail[0].width + '" height="' + data.entry.media$group.media$thumbnail[0].height + '" alt="' + data.entry.media$group.media$thumbnail[0].yt$name + '" align="right"/&gt;';
    s += '&lt;b&gt;Title:&lt;/b&gt; ' + data.entry.title.$t + '&lt;br/&gt;';
    s += '&lt;b&gt;Author:&lt;/b&gt; ' + data.entry.author[0].name.$t + '&lt;br/&gt;';
    s += '&lt;b&gt;Published:&lt;/b&gt; ' + new Date(data.entry.published.$t).toLocaleDateString() + '&lt;br/&gt;';
    s += '&lt;b&gt;Duration:&lt;/b&gt; ' + Math.floor(data.entry.media$group.yt$duration.seconds / 60) + ':' + (data.entry.media$group.yt$duration.seconds % 60) + ' (' + data.entry.media$group.yt$duration.seconds + ' seconds)&lt;br/&gt;';
    if (data.entry.gd$rating) {
        s += '&lt;b&gt;Rating:&lt;/b&gt; ' + data.entry.gd$rating.average.toFixed(1) + ' out of ' + data.entry.gd$rating.max + ' (' + data.entry.gd$rating.numRaters + ' ratings)&lt;br/&gt;';
    }
    s += '&lt;b&gt;Statistics:&lt;/b&gt; ' + data.entry.yt$statistics.favoriteCount + ' favorite(s); ' + data.entry.yt$statistics.viewCount + ' view(s)&lt;br/&gt;';
    s += '&lt;br/&gt;' + data.entry.media$group.media$description.$t.replace(/\n/g, '&lt;br/&gt;') + '&lt;br/&gt;';
    s += '&lt;br/&gt;&lt;a href="' + data.entry.media$group.media$player.url + '" target="_blank"&gt;Watch on YouTube&lt;/a&gt;';
    document.write(s);
}



$(document).ready(function () {
    $.getScript('http://gdata.youtube.com/feeds/api/videos/gzDS-Kfd5XQ?v=2&amp;alt=json-in-script&amp;callback=youtubeFeedCallback', function () {
        alert(1); //This function is placed in jsPlugin.js

    });

});
</code></pre>

<p>the alert does go well, Im getting the alert, and on FireBug i do see the GET method, but it wont execute the "callback" function.. I dont see it pasting it on my site...</p>

<p>any ideas why ?!`</p>
