i do this query in yql' its run good in yahoo console, but i think the error is in the script, this what i wrote. i need to get only the Date, and i dont get him. whats is wrong. this is the script.
var yql = 'select * from html where url="http://finance.yahoo.com/q?s=mo&ql=1" AND xpath="//*[@id=\'table1\']//tr[7]//td/text()"';
var queryURL = 'https://query.yahooapis.com/v1/public/yql?q=' + yql + '&format=json&env=http%3A%2F%2Fdatatables.org%2Falltables.env&callback=?';
$.getJSON(queryURL, function (data) {
var ss;
$.each(data.query.results, function (index, item) {
ss += item.results;
});
$("#test").html(ss);
});