Skip to content

Instantly share code, notes, and snippets.

@ericf
Forked from apipkin/index.html
Created April 5, 2010 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericf/356436 to your computer and use it in GitHub Desktop.
Save ericf/356436 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script>
<script>
YUI().use('io',function(Y){
var ioConfig = {
on : {
success : function(id,o,args) { Y.log(o.responseText); },
error : function(args) {Y.log(args);}
},
url : 'io.php',
timeout : 1500
};
var myIo = Y.io(ioConfig.url, ioConfig);
});
</script>
</head>
<body>
</body>
</html>
<?php sleep(3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment