Paste Code
Paste Blends
Paste Images
<html>
<div id="A"></div>
</html>
<script type="text/javascript">
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET","http://en.wiktionary.org/wiki/Wiktionary:Word_of_the_day/Archive",true);
xmlhttp.send();
xmlhttp.onload = writetodoc;
function writetodoc() {
//var string = (new XMLSerializer()).serializeToString(xmlhttp.responseXML.getElementsById("WOTD-rss-title"));
var res = xmlhttp.responseXML;//getElementById("WOTD-rss-title");
var string = (new XMLSerializer()).serializeToString(res);
//document.getElementsById("A").innerHTML=string;
alert(string);
}
</script>
  1. <html>
  2. <div id="A"></div>
  3. </html>
  4. <script type="text/javascript">
  5.         var xmlhttp = new XMLHttpRequest();
  6.         xmlhttp.open("GET","http://en.wiktionary.org/wiki/Wiktionary:Word_of_the_day/Archive",true);
  7.         xmlhttp.send();
  8.         xmlhttp.onload = writetodoc;
  9.         function writetodoc() {
  10.                         //var string = (new XMLSerializer()).serializeToString(xmlhttp.responseXML.getElementsById("WOTD-rss-title"));
  11.                         var res = xmlhttp.responseXML;//getElementById("WOTD-rss-title");
  12.                         var string = (new XMLSerializer()).serializeToString(res);
  13.                         //document.getElementsById("A").innerHTML=string;
  14.                         alert(string);
  15.         }
  16. </script>
go to heaven