Widget:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function test(){ | function test(){ | ||
Line 9: | Line 8: | ||
api.get( { | api.get( { | ||
action: 'parse', | |||
page: 'Test', | |||
}, { | |||
ok: function () { alert( arguments ) } | |||
} ) | } ) | ||
Line 15: | Line 17: | ||
alert('Parsed result:', html) | alert('Parsed result:', html) | ||
} ) | } ) | ||
</script> | </script> |