Skip to content

Commit

Permalink
beginning the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
David Furfero committed Dec 24, 2008
1 parent 4907e36 commit eca2f3e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
$.onAvailable and $.onContentReady

Two new DOM events for jQuery which allow the retrieval of DOM nodes before the DOM has finished loading.

Installation
------------

Add the script to the top of your HTML document.

<script src="path/to/script/jquery.onavailable.pack.js" type="text/javascript"></script>

Usage
-----

<a href="http://furf.com">Go to furf.com</a>


$.onAvailable('foo', function() {

return confirm('Are you sure you want to go there?')'

});

0 comments on commit eca2f3e

Please sign in to comment.