<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<TABLE>
<TR>
<TD>
<FORM id=fm2 METHOD=POST ACTION="search.asp">
<INPUT TYPE="text" NAME="howmany" value="1">
<INPUT TYPE="button" οnclick="javascript:establish()" value='add new'><BR>
<INPUT TYPE="hidden" NAME="oldid" value="1">
<SCRIPT LANGUAGE="JavaScript">
<!--
function establish()
{
if(fm2.howmany.value==1)
{howmany=fm2.oldid.value;
howmany++;}
else{howmany=fm2.howmany.value;}
str=window.nm.innerHTML;
i=fm2.oldid.value;
//alert(i);
//alert(howmany);
for (i;i<howmany;i++)
{
//alert (i);
str=str+"Input Employee No."+i+"<INPUT TYPE=text NAME=emno"+i+"><BR>";
}
//alert(str);
fm2.oldid.value=howmany;
window.nm.innerHTML=str;
//alert(fm2.oldid.value);
}
//-->
</SCRIPT>
<div id="nm">
Input Employee No.<INPUT TYPE=text NAME=emno1><BR>
</div>
</FORM>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>