function request(div,parameters,parse) {
$.post('model.php', parameters,
function(response) {
// In this order, first fadeout div
$(div).fadeOut(200, function() {
// Then get the response back HIDDEN
$(div).html(response).hide(function() {
// Do parsing here
// Only after everything's parsed do we fade back in
$(div).fadeIn(200, function() {});
});
});
});
}
Thanks EDIT: If it's not clear what I'm after, I'd appreciate first a numbered list stating what I need to do and what way I should approach it? Thanks again
It looks like you're new here. If you want to get involved, click one of these buttons!