Using jQuery I want to fetch data from stopforumspam and append it to assigned ID. I'm using following code but nothing resulting.
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<span id="spam0"></span>
<script>
$.get("http://api.stopforumspam.org/api?ip=182.67.231.87", function(data){ var xml = $.parseXML(data),
$xml = $( xml ),
$test = $xml.find('appears');
$( "#spam0" ).append( $test.text() );
});
</script>