JSFiddle - React, Tailwind, and code Playground

by alexk

JavaScript

var url = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%20%3D%20%22http://www.redrag.info/index.htm%22%20and%20xpath%3D%22*%22&format=xml&callback=cbfunc";

$.ajax({
    url: url,
    jsonpCallback: 'cbfunc',
    dataType: 'jsonp'
})
.success(function(data) {
    alert(data.query.created);
});