I am using jQuery Address Plugin and I have the following code.
$.address.change(function(e) {
if (e.value == "/") {
$.address.value("/Login.html");
}
else {
$('#holder').load(e.value);
}
});
$('a').address(function() {
return $(this).attr('href').replace(/^#/, '');
});
The problem is that the change event always executes the else block whether the page is changed or not. It was working perfect before this day.
I solved the problem using JQuery Address Plugin.