I have a number of forms loaded into div via ajax and then submit via ajax back to that same page, which in esessence reloads the info. See this post form loaded into div via ajax and then submits via ajax However in one case I must submit the form to a different page and then I use Ajax to call the initial page back. While everything works on the server end it does not show the user the newest information.

I am trying to figure out how to use setInterval to reload this one time. and then I will use clearInterval to stop it.

Can anyone tell me how to make this work in all browsers since I need to pass 5 variables in my function call?

Parent page HTML
Code:
<!DOCTYPE HTML>
<html>
<head>
<title>Main Menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/scripts/admin.js"></script>
</head>
<body>
	<div id="header">
		<img src="images/cri.png" />
		<div id="login"></div>
	</div>
	<div id="content">
		<div id="tabs">	
			<ul id="nav">
				<li><a href="/menu.asp" class="active">Employees</a></li>
				<li><a href="/AddEmployee.asp" class="tab">Add Employee</a></li>
				<li><a href="/DownloadableFiles.asp" class="tab">Downloadable Files</a></li>
				<li><a href="/SignedForms.asp" class="tab">Signed Forms</a></li>
				<li><a href="/doctypes.asp" class="tab">Doc Types</a></li>
				<li><a href="/admins.asp" class="tab">Administrators</a></li>
				<li><a href="/Companies.asp" class="tab">Clients</a></li>
				<li><a href="logout.asp" class="tab">Log Out</a></li>
			</ul>
		</div>
		<br />
		<div id="leftside">
			<input type="radio" name="ActiveStatus" id="ActiveStatus0" value="0" onClick="ShowEmployeeList(this.value,0)" /><label for="ActiveStatus0">Not Active</label>&nbsp; &nbsp; 
			<input type="radio" name="ActiveStatus" id="ActiveStatus1" value="1" onClick="ShowEmployeeList(this.value,0)" /><label for="ActiveStatus1">Active</label>&nbsp; &nbsp; 
			<input type="radio" name="ActiveStatus" id="ActiveStatus2" value="2" onClick="ShowEmployeeList(this.value,0)" checked /><label for="ActiveStatus2">All</label><br /> 
			<br /> 
			<div id="EmployeeList">
				<table style="width:100%"><tr><td><a href="javascript:void(0)" onClick="DisplayEmployee(0,20,false)">Smith, John Percy </a></td><td>Y</td></tr>
				<tr><td><a href="javascript:void(0)" onClick="DisplayEmployee(0,23,false)">Wilson, Mark Anthony Jr</a></td><td>Y</td></tr>
				<tr><td><a href="javascript:void(0)" onClick="DisplayEmployee(0,21,false)">Brown, Barbara  Ann </a></td><td>N</td></tr></table>
			</div>
		</div>
		<div id="EmployeeData">
			
		</div>
		<div style="clear:both;">&nbsp;</div>
		<iframe style="display:none" id="hidden" name="hidden"></iframe>
	</div>
	<div id="footer">
		<div class="copyright"></div>
	</div>
</body>
</html>
HTML Code displayed in EmployeeData div {Warnings.asp (the page in question)}
Code:
<p>Employee Name: John Percy Smith </p>
<div id="addbutton">
	<p><a href="Javascript:void(0)" onclick="show('myForm');hide('addbutton')">Add Warning</a></p>
	<table border="1px solid #CCCCCC"><tbody><tr><td colspan="2"><a href="Javascript:void(0)" onclick="Warnings(20,0,true,2)">Display the Warning</a></td></tr>
		<tr><td>Date:</td><td>4/1/2013</td></tr>
		<tr><td>Type:</td><td>Verbal</td></tr>
		<tr><td>Issued By:</td><td>Miranda</td></tr>
		<tr><td valign="top">Summary:</td><td>Code was left open to injection attack. Company procedure ...</td></tr>
		<tr><td valign="top">Action Taken:</td><td>Explained the nned to always use SPROCS and parameterized ...</td></tr>
		<tr><td valign="top">Employee Comments:</td><td>The code in question used a query with a value derived ...</td></tr>
		<tr><td colspan="2">&nbsp;</td></tr><tr><td colspan="2"><a href="Javascript:void(0)" onclick="DeleteWarning(20,0,2)">Delete the Warning from employee record.</a></td></tr></tbody></table>
</div>
	<div id="myForm" style="display:none">
		<form method="post" action="/Employee/AddWarning.asp" enctype="multipart/form-data" onsubmit="setTimeout(Warnings(20,0,false,0,false),1000);" target="hidden">
			<table>
				<tbody><tr>
					<td>Employee Number:</td>
					<td><strong>63495</strong></td>
				</tr>
				<tr>
					<td>Warning Date:</td>
					<td><input name="WarningDate" id="WarningDate" value="4/19/2013" style="width:75px" type="text"></td>
				</tr>
				<tr>
					<td>Warning Type:</td>
					<td><input name="WarningType" value="V" id="Verbal" onclick="hide('wt');" type="radio"><label for="Verbal">Verbal</label> &nbsp;&nbsp;&nbsp;
						<input name="WarningType" value="W" id="Written" onclick="show('wt');" type="radio"><label for="Written">Written</label></td>
				</tr>
				<tr id="wt" style="display:none">
					<td>Attach Warning:</td>
					<td><input name="Attachment" type="file"></td>
				</tr>
				<tr>
					<td>Issuing Supervisor:</td>
					<td><input name="Issuer" id="Issuer" maxlength="75" style="width:250px" type="text"></td>
				</tr>
				<tr>
					<td valign="top">Summary:</td>
					<td><textarea name="Summary" id="Summary" style="width:500px; height:50px;" onkeydown="countChars(this,'sumRemain',500)" onkeyup="countChars(this,'sumRemain',500)" onblur="countChars(this,'sumRemain',500)" onfocus="CheckText(this,this.value, 'Describe what happened to warrant the warning')">Describe what happened to warrant the warning</textarea><br>
						<span id="sumRemain" class="remaining">500 characters remaining</span>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="height:15px"></td>
				</tr>
				<tr>
					<td valign="top">Action Taken:</td>
					<td><textarea name="ActionTaken" id="ActionTaken" style="width:500px; height:50px;" onkeydown="countChars(this,'atRemain',500)" onkeyup="countChars(this,'atRemain',500)" onblur="countChars(this,'atRemain',500)"></textarea><br>
						<span id="atRemain" class="remaining">500 characters remaining</span>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="height:15px"></td>
				</tr>
				<tr>
					<td valign="top">Employee Comments:</td>
					<td><textarea name="EmployeeComments" id="EmployeeComments" style="width:500px; height:50px;" onkeydown="countChars(this,'ecRemain',500)" onkeyup="countChars(this,'ecRemain',500)" onblur="countChars(this,'ecRemain',500)" onfocus="CheckText(this,this.value, 'Comments by employee')">Comments by employee</textarea><br>
						<span id="ecRemain" class="remaining">500 characters remaining</span>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="height:15px"></td>
				</tr>
				<tr>
					<td></td>
					<td><input name="btnUpdate" value="Save" type="submit"></td>
				</tr>
			</tbody></table>
			<input name="ClientID" value="0" type="hidden">
			<input name="EmployeeID" value="20" type="hidden">
			<input name="WarningID" value="0" type="hidden">
		</form>
		<div style="position:absolute; bottom:10px; left:300px;"><a href="javascript:void(0)" onclick="Warnings(20,0,false,0,false)">Return to Warnings List</a></div>
	</div>
<div style="position:absolute; bottom:10px; right:10px;"><a href="javascript:void(0)" onclick="DisplayEmployee(0,20,false)">Return to info page</a></div>
And finally my Javascript function
Code:
function Warnings(EID,CID,bool,WID,RTW){
	var xmlHttp;
	if (navigator.userAgent.indexOf("MSIE")>=0){
		var strName="Msxml2.XMLHTTP";
		if (navigator.appVersion.indexOf("MSIE 5.5")>=0){
			strName="Microsoft.XMLHTTP";
		}
		try{
			xmlHttp = new ActiveXObject(strName);
		}
		catch(e){
			//alert("Error. Scripting for ActiveX might be disabled")
			return e
		}
	}
	else if(window.XMLHttpRequest){
		xmlHttp = new XMLHttpRequest();
	}
	var url="/Employee/Warnings.asp"; 
	var params = "ClientID=" + CID + "&EmployeeID=" + EID + "&WarningID=" + WID + "&Edit=" + bool + "&RTW="+RTW;
	xmlHttp.open("POST", url , true);
	xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
	xmlHttp.onreadystatechange = function() {  
		if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
			document.getElementById("EmployeeData").innerHTML=xmlHttp.responseText;
		}
	}
	xmlHttp.send(params)
}