Browse files

README update

  • Loading branch information...
1 parent 2e3f633 commit 9993c620c3bce2f0db3a2482949c2a886653d522 @kylebarrow committed Oct 7, 2012
Showing with 13 additions and 1 deletion.
  1. +13 −1
@@ -420,10 +420,22 @@ For cross-domain requests, **ajax** uses JSONP by default but this can be overri
$('form').ajax('ajax.html'); // XHR all form data using "GET" to "ajax.html"
$({text:'Foo Bar'}).ajax('ajax.html'); // XHR the JSON using "GET" to "ajax.html"
$('form').ajax('ajax.html',"POST",function(data,status){ },true); // XHR all form data using "POST" to "ajax.html", returns responseText and status, adds a cache busting time stamp
+<!DOCTYPE html>
+<script src="chibi-min.js"></script>
$({sort:'created',direction:'asc'}).ajax('','GET',function(data,status){ }); // JSONP
##### FIN

0 comments on commit 9993c62

Please sign in to comment.