This is the code repository that goes with Learning from jQuery, containing all major functions and code samples from the book.
ajax.js
contains therequest()
function andget()
andpost()
aliases from Chapter 4: AJAX.events.js
contains theaddEventListener()
,triggerEvent()
andremoveEventListener()
functions.- The
ajax
directory contains the simple PHP AJAX example from Chapter 4: AJAX. It relies on bothajax.js
andevents.js
. - The
docblockExample
directory contains example files with docblocks in, from Chapter 5: JavaScript Conventions. There is only one example so far, feel free to add your own and send a pull request.