-2
rated 0 times
[
4]
[
6]
/ answers: 1 / hits: 42265
/ 7 Years ago, thu, april 20, 2017, 12:00:00
I'm developing a website. But it caches user name and password in cache block which can be accessed using hacking software like winhex. I want to clear cache
$(.object-position).livequery(change, function() {
$(#objects-list input).attr('disabled', true);
var action = $(this).attr('name');
var position = $(this).attr('value');
var id = $(this).attr(id);
var model = id.split(-)[0];
var object_id = id.split(-)[1];
$(#loader).show();
$(#loader).fadeIn(200);
$.ajax({
type: POST,
async: true,
url: /manage/update_position/,
data: action= + action + &model= + model + &object_id= + object_id + &position= + position,
dataType: json,
success: function(data){
$(#loader).fadeOut(fast, function () {
$(#loader).hide();
});
$(objects-list).html(data[html]);
$(#message).show();
$(#message).fadeIn(400).html('<span>'+data[message]+'</span>');
setTimeout(function(){
$(#message).fadeOut(slow, function () {
$(#message).hide();
});
}, 1500);
}
});
$(#objects-list input).attr(disabled, false);
return false;
});
More From » jquery