Hello,

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;
} else {
alert("oops");
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to