OUATATAZ
unread,Nov 6, 2009, 4:33:26 AM11/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Prototype & script.aculo.us
Hello all !
Considering the following function :
*******
function mSelectDate(dt) {
document.location.hash = "loc2-1";
$('resasDuJour').innerHTML = '<span
class="retraitLoading">LOADING...';
new Ajax.Request(
'(ajax2)_e_welcome.php?date='+ cal.getFormatedDate("%Y-%m-%d", dt),
{
method:'get',
onSuccess: function(transport) {
$('resasDuJour').hide();
$('resasDuJour').innerHTML = transport.responseText;
$('resasDuJour').appear();
}
}
);
return true;
}
*******
When I call this function, I would like that the page refresh taking
into account the hash (loc2-1) as soon as the 'resasDuJour' div
appear, but it does not work...
Is there a way to do this ?
Thanks in advance for your help.