Hey everyone-
I'm trying to get the load function to work properly and I've been
using this page as a reference:
http://docs.jquery.com/Ajax/load#urldatacallback
As far as I can tell, the URL I want it to hit is getting hit, but the
callback function never fires. Any ideas?
var ClientSearch = {
initialize: function() {
$('#start_search').click(this.search);
},
search: function() {
$('#search_results').load('/searches/create', { query: $
('#query').val() }, this.hyperlink_search_results);
},
hyperlink_search_results: function() {
console.log('
2 matches
Mail list logo