Tuesday, January 4, 2011

jQuery and Ajax

Quite happy with where I am with studyspaces. My filter options now dynamically filter the results without reloading the page. Although, I'm still not sure whether the way I'm querying Django views is how it's supposed to be done, but it works for the moment.

I thought I was going to have to set aside several hours to learn Ajax, but, thanks to jQuery, it only boils down to one line:
$('div#result').load(url); 
jQuery is amazing.

No comments:

Post a Comment