Widget:RCSandbox: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:
         } , {
         } , {
ok:function (data) {
ok:function (data) {
   document.getElementById('changeslist').innerHTML = "";
   $("#changeslist").html("");
   $(data.query.recentchanges).each( function(key, value) {
   $(data.query.recentchanges).each( function(key, value) {
    document.getElementById('changeslist').innerHTML += "<a class='rclink' href='http://wikidoc.org/index.php/" + value.title + "'>" + value.title + "</a> was edited by: " + value.user + "<br />";
  $("#changeslist").append("<a class='rclink' href='http://wikidoc.org/index.php/" + value.title + "'>" + value.title + "</a> was edited by: " + value.user + "<br />");
   });
   });
}});
}});

Revision as of 17:30, 10 July 2013