User:GangBunTu/common.js

function scrap{ // http://api.jquery.com/jquery.get/ var jqxhr = $.get( "/wiki/Special:AdminDashboard", function(data) { var h = data.getElementById('QuickStatsWidget'); alert(h); }, "html") .done(function {   alert( "second success" );  }) .fail(function {   alert( "error" );  }) .always(function {   alert( "finished" );  }); // Perform other work here ... // Set another completion function for the request above jqxhr.always(function { alert( "second finished" ); });

$.get('/wiki/Special:AdminDashboard', function (data) {	console.log(data); });

}