Hi ;

I have two boxes the first is refreshed by the function "getreg" and
the second by "getprov" (see end of message)  and it works fine.

My problem now is when I try to execute two calls sequentially it does
not work
eg below nothing happens:

function checkctry(o)
{
getreg(o.value);d.forms[0].sel_country.value}
getprov(o.value,'COUNTRY',d.forms[0].sel_country.value);}
}

I've just added an alert in between and it works perfectly

function checkctry(o)
{
getreg(o.value);d.forms[0].sel_country.value}
Alert("Stop process");
getprov(o.value,'COUNTRY',d.forms[0].sel_country.value);}
}

Could someone please can give an explanation or a workaround I don't
want to add an alert or a sleep in that process

Attilio
Belgium









Ps : described function

function getprov(reg,type,trl)
{
        Ajaxutils.getProv(reg,type,trl,callback_getprov);
}


function getreg(ctry)
{
        Ajaxutils.getReg(ctry,callback_getreg);
}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to