Can someone help me please.
I have the following (simplified) code.
function save_all_des(){
document.getElementById("form_zoom1").submit();
document.getElementById("form_zoom2").submit();
}
I am submitting two forms, which have input of the same names but with different values. Individually they submit ok. Also in IE9 they submit correctly when called as shown. However in FF only the second works.
It appears that the second is submitting over the first. I’ve tried using separate functions but they too seem to run at the same time. How do I make sure the code behind the form submittal is fininshed before the second submission? I have used jquery a little but I don’t know how to use callback and ajax (yet).
Any help appreciated.
Thanks
I have found an article relating to you problem: Article:
I have not tested this tho.