Difference between revisions of "Sandbox"

From Organic Design wiki
m
m
Line 1: Line 1:
 
<html><script lang="javascript">
 
<html><script lang="javascript">
 +
 +
function d(x) { alert(x); }
  
 
$(document).ready( function() {
 
$(document).ready( function() {
$.ajax({
+
  d.baz = 'biz';
type: 'GET',
+
  d(d.baz);
url: 'http://118.organicdesign.co.nz/wiki/index.php',
 
data: { action: 'raw', title: 'Main_Page' },
 
dataType: 'html',
 
success: function(data) { alert('success: '+data); },
 
error: function(e) { for( i in e ) alert(i + ':' + e[i]); }
 
});
 
 
});
 
});
  
 
</script></html>
 
</script></html>

Revision as of 13:49, 26 August 2012