I need to check out link and get the value that is in meta name="member_count" content="53"
in this case 53
Try to see if I can explain myself better.
I want to make a JS that can get the number of members of the link that I posted up
So I hope I can get this information and can manipulate this value
The goal is to be able to display on my site the number of group members that shows in the posted link
What is the best method to do this?
I'm trying to make a request XMLHttpRequest
but I did not succeed
function loadXMLDoc(){
var xmlhttp;
if (window.XMLHttpRequest){
xmlhttp=new XMLHttpRequest();
}else{
xmlhttp=new
ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4 && xmlhttp.status==200){
document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
}
}
xmlhttp.open("GET","http://world.secondlife.com/resident/24e6998d-7bf2-4d03-b38b-acf8f2a21fc1",true);
xmlhttp.send();
}
<input type="button" onclick="loadXMLDoc()">Request data</button>
<div id="myDiv"></div>