I'm submitting a form using the following code and sometimes, it
doesn't get submitted. I have Tomcat 4.1.24 on the backend and I am
trying to grab some extra information from the server for my current
page. I do this by submitting a form and setting the target as an
iFrame on my page. It works like 85% of the time. The other 15% of the
time, IE just sits there and times out. When a place a sniffer on the
port, the Post is never going through. I can't hit anything on the
current session anymore either. Is this a known issue with IE? Does
anyone know of a workaround?
Code....
//////////////////////////////////////////////////////////
try {
document.body.style.cursor = "wait";
var oForm = document.getElementById("GetEntitlementsForm");
oForm.target = "DataExchangeFrame1";
oForm['GetEntitlementsForm_DriverValue'].value = DriverValue;
oForm['GetEntitlementsForm_WhatToDo'].value =
"GetEntitlementList";
oForm.submit();
} catch(ex) {
alert("There was an error!");
alert(ex);
}
//////////////////////////////////////////////////////////
Thanks in advance.