A simple ajax call, the php echos some xml text I need to appear in JPayer where myAJAXVariable is.
I need something similar to php echo which simply prints the data.
I simply want myAJAXVariable to display the data from getxml2.php
$(document).ready(function() {
     var myAJAXVariable = $.get("http://www.freeenergymedia.com/getxml2.php", function(data){
return data; <!--here I am attempting to print the contents of getxml2.php as data-->
});
    new jPlayerPlaylist({
        jPlayer: "#jquery_jplayer_1",
        cssSelectorAncestor: "#jp_container_1"
    }, myAJAXVariable, {
        swfPath: "js",
        supplied: "mp3, oga",
        wmode: "window"
    });
});
 
     
     
    