User:Tyilo/hiscore ajax test.js

importScript('User:Tyilo/hiscore_ajax.js'); function click {   getHiscores(document.getElementById('username').value, function(res.responseText){document.getElementById('result').value = res.}); } function testHiscore {   document.getElementById('test').innerHTML = 'Username:   '; } if(wgPageName == 'User:Tyilo/Hiscore_test') {   addOnloadHook(testHiscore); }