I realise that many will simply say drop prototype.js but for the
others!
Can anyone see why unless I have
alert("press OK"); or some other alert message,
when flaglast is true, the text coming from the php script only stays
on the screen for a split second!
Thanks
Geoff
if (flag10 == true) {
new Ajax.Updater(
'updateDiv',
'fv-c1-arrays4-mysql-minus-wm.php',
{
asynchronous:true,
method:'post',
parameters: params
}
);
resultsSaved = true;
flag10 = false;
} else if (flaglast == true) {
alert("press OK");
new Ajax.Updater(
'updateDiv',
'fv-c1-arrays4-mysql-minus-wm.php',
{
asynchronous:true,
method:'post',
parameters: params
}
);
resultsSaved = true;
flaglast = false;
>Hello,
>
>I realise that many will simply say drop prototype.js but for the
>others!
>
>Can anyone see why unless I have
>
>alert("press OK"); or some other alert message,
>
>when flaglast is true, the text coming from the php script only stays
>on the screen for a split second!
problem solved - needed a second div as two different ajax updaters at
work.
Cheres
Geoff