YUI: Connection Example

Click the button below to fire an XHR request to a page that will sleep for about 5 seconds.

The HTML

The CSS

The Javascript