I've got an url here
http://94.23.34.69:7240/
wich contains XML information. I need this information between the tags
<Name>IG_Battlegrounds</Name>
<MapName>Brezaliad</MapName>
<NumberOfActivePlayers>35</NumberOfActivePlayers>
<MaxNumberOfPlayers>50</MaxNumberOfPlayers>
When getting the information i need to print it into html. I managed to get this trough PHP but that is taking to long and makes my website load slowly. I haven't worked with ajax yet. I hope someone can help me. I tried to use this
$.ajax({
type: "GET",
url: "http://94.23.34.69:7240/ ",
dataType: "xml",
success: function(xml) {
alert("xml");
}
});
But this is not working. It doesn't show anything. Do i need to include something special for using ajax? I also need al the information comming from this link and break up the info so i can use parts of it to print to my website
http://module.game-monitor.com/85.236.100.184:8876/website.php?s=test.css&f=18
Help would be appriciated.