mili
09-14-2003, 01:52 PM
Hi,
I want to submit two forms one after the other. I also want two insert a delay after submitting the first form (for a few seconds) and then submit the second form.How can I do this?
Here is my script:
if(document.reimport.id_load_status.value.indexOf("FA;") != -1)
{
document.reimport.submit();
//alert("Submitted Re-import");
parent.document.search.submit();
//alert("Submitted Filter");
}
else
{
alert("Only Files with Status FA can be re-imported" );
return;
}
I want to submit two forms one after the other. I also want two insert a delay after submitting the first form (for a few seconds) and then submit the second form.How can I do this?
Here is my script:
if(document.reimport.id_load_status.value.indexOf("FA;") != -1)
{
document.reimport.submit();
//alert("Submitted Re-import");
parent.document.search.submit();
//alert("Submitted Filter");
}
else
{
alert("Only Files with Status FA can be re-imported" );
return;
}