jQuery Address Plugin - Not allowing loading ajax?
Posted
by Nic Hubbard
on Stack Overflow
See other posts from Stack Overflow
or by Nic Hubbard
Published on 2009-11-12T17:23:20Z
Indexed on
2010/03/08
16:21 UTC
Read the original article
Hit count: 275
I am trying to test the jQuery Address Plugin and it seems to not allow ajax to work in the change function.
I am using:
$.address.change(function(event) {
$('#content').load(event.value+' #content');
$.address.title(event.value);
});
$('a').click(function() {
$.address.value($(this).attr('href'));
});
While I can use event.value for other things, it just does not seem to let the .load() function work. Even trying a static URL in .load() does nothing. Is something in the plugin preventing this? I thought this was the point of the plugin!
© Stack Overflow or respective owner