Possible Duplicate:
Prevent caching of AJAX call
How do I get a new ajax request every single time my "a#changepw" is clicked. It just keeps retrieving the first ajax request and no more ajax requests are being made. I want it to get a new one every time I click the button.
$(document).ready(function(){
$('a#changepw').click(function(){
//$('div#profilePassword').removeClass('hover');
$('div#profilePassword').addClass('sloading');
$('a#changepw').addClass('invisible');
//alert('Hello World');
$.get("changepassword", {
}, function(response) {
//$('div.pw').html(response);
$('div#profilePassword').append($(response).fadeIn('slow'));
$('div#profilePassword').removeClass('sloading');
$('div#profilePw').removeClass('Select');
$('div#profilePassword').addClass('standard');
});