Difference between revisions of "Sandbox"
From Organic Design wiki
m |
(ajax test) |
||
| Line 1: | Line 1: | ||
| − | + | <html><script lang="javascript"> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | <html> | ||
| − | <script lang="javascript"> | ||
$(document).ready( function() { | $(document).ready( function() { | ||
| − | + | $.ajax({ | |
| − | + | type: 'GET', | |
| − | + | url: mw.util.wikiScript(), | |
| − | + | data: { action: 'raw', title: mw.config.get('wgPageName')] }, | |
| + | dataType: 'html', | ||
| + | success: function(html) { alert(html); } | ||
| + | }); | ||
}); | }); | ||
| − | </script> | + | </script></html> |
| − | </html> | ||
Revision as of 15:13, 25 August 2012



