Hi All,
I am generating the Rows Dynamically in the table.
Problem is that for the first row calendar pop up window is coming and for the other window it is not coming.

I am pasting the code....
plese let me know where is the error.

<html>
<head>
<title>RFF Repository</title>
</head>

<SCRIPT LANGUAGE="JavaScript" SRC="AnchorPosition.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="PopupWindow.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="date.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="CalendarPopup.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript">document.write(CalendarPopup_getStyles());</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var cal1x = new CalendarPopup("testdiv1");
</SCRIPT>

<script type="text/javascript">
	var rowCount = 1;
	
	function addRow(){
		var rowNodeClone = document.getElementById("template_row").cloneNode(true);
		var tableNode 	= document.getElementById("table").getElementsByTagName("TBODY").item(0);
		//var resultNode 	= document.getElementById("innerHtml");
	 
		rowNodeClone.id = "RFF" + (rowCount++);
		rowNodeClone.id = (rowCount++);

		//rowNodeClone.bgColor = "blue";

	    EmptyCellsInNewRow(rowNodeClone);
		tableNode.appendChild(rowNodeClone);
		

	
		//resultNode.value = tableNode.innerHTML
		
	}

	function EmptyCellsInNewRow(rowNodeClone)
	{
		allnodes = rowNodeClone.getElementsByTagName("TD");
		//alert(allnodes.length);
		for(i = 0; i < allnodes.length; i++)
		{
			subnodes = allnodes[i].getElementsByTagName("INPUT");
			for(j=0; j < subnodes.length; j++)
			{
				subnodes[j].value = "";
			}
			subnodes = allnodes[i].getElementsByTagName("TEXTAREA");
			for(k=0; k < subnodes.length; k++)
			{
				subnodes[j].value = "";
			}
		}
	}
</script>
<style>
		body{	
		background:white;
		color:blue	;
		}
	</style>

<center><img src="file:///C:/Documents%20and%20Settings/mkishore/My%20Documents/My%20Pictures/image002.jpg" width="100" height="22"></center>

<center><b>RFF Repository</b></center>
<form name=fp action="rff.pl" method=post >

<table  id ="table" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1316" id="AutoNumber1" height="63">

  <tr>
    <td width="62" bgcolor=#94B6FF align="center" height="70">
    <font face="verdana" color=white style="font-size: 8pt">Si-no</font></td>

    <td width="29" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Ticket Number</font></td>

    <td width="54" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Description</font></td>

    <td width="37" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Priority</font></td>

    <td width="70" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Understandings</font></td>

    <td width="37" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Planned Start Date</font></td>

    <td width="30" bgcolor=#94B6FF align="center" height="70">
    <font style="font-size: 8pt" color="white">Actual</font>
    <font color=white style="font-size: 8pt"> start Date</font></td>

    <td width="44" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">RFF Approval Date</font></td>

    <td width="37" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Planned End Date</font></td>

    <td width="40" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Actual End (Date Delivery Date)</font></td>

    <td width="37" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Project (Delayed Days)</font></td>

    <td width="44" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Planned Date for Customer Signoff</font></td>

    <td width="44" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Received Customer Sign-off</font></td>

    <td width="27" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Status</font></td>

    <td width="122" bgcolor=#94B6FF align="center" height="70">
    <p align="center"><font color=white style="font-size: 8pt">Stage (Local|Staging|Production)</font></p>
    </td>

    <td width="45" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Assigned</font><font style="font-size: 8pt">
    </font><font color=white style="font-size: 8pt">Resources</font></td>


    <td width="37" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Planned</font><font style="font-size: 8pt">
    </font><font color=white style="font-size: 8pt">Dev</font><font style="font-size: 8pt"> </font>
    <font color=white style="font-size: 8pt">Efforts</font></td>

    <td width="33" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Actual</font><font style="font-size: 8pt">
    </font><font color=white style="font-size: 8pt">Dev</font><font style="font-size: 8pt"> </font>
    <font color=white style="font-size: 8pt">Efforts</font><font style="font-size: 8pt"> </font><font color=white style="font-size: 8pt">(Billed</font><font style="font-size: 8pt">
    </font><font color=white style="font-size: 8pt">Hours)</font><font style="font-size: 8pt"></font></td>


    <td width="44" bgcolor=#94B6FF align="center" height="70">
    <font color=white style="font-size: 8pt">Dev</font><font style="font-size: 8pt">
    </font><font color=white style="font-size: 8pt">Effort</font><font style="font-size: 8pt">
    </font><font color=white style="font-size: 8pt">(Variance Hours)</font><font style="font-size: 8pt"></font></td>


    
    <td width="45" bgcolor=#94B6FF align="center" height="70">
    	<font style="font-size: 8pt">&nbsp;</font><font color=white style="font-size: 8pt"> % Complete
    </font>
    </td>

    
	<td width="120" bgcolor=#94B6FF align="center" height="70" colspan="5">
    <font color=white style="font-size: 8pt">Development Testing</font>
    <p>&nbsp;</p>
    </td>

	<td width="132" bgcolor=#94B6FF align="center" height="70" colspan="5">
    <font style="font-size: 8pt" color="white">&nbsp;&nbsp;&nbsp;&nbsp; QA Testing</font>
        <p>&nbsp;</p>
    </td>

	<td width="120" bgcolor=#94B6FF align="center" height="70" colspan="5">
    <font color=white style="font-size: 8pt">Customer Acceptance Testing</font>
    <p>&nbsp;</p>
    </td>

    <td width="120" bgcolor=#94B6FF align="center" height="70" colspan="5">
    <font color=white style="font-size: 8pt">Comments</font>
    <p>&nbsp;</p>
    </td>
  </tr>

  <tr>
  <td width="62" bgcolor=#94B6FF align="center" height="41">

    <!--<td width="30" height="18">&nbsp;adad</td>-->
    <td width="23" bgcolor=#94B6FF align="center" height="1" width="36">&nbsp;</td>
    <td width="54" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="37" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="70" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="37" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="30" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="44" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="37" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="40" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="37" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="44" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="44" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="27" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="122" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="45" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="37" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="33" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="44" bgcolor=#94B6FF align="center" height="1">&nbsp;</td>
    <td width="45" bgcolor=#94B6FF align="center" height="1"></td>
    
	
    <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">A</font>
    </td>

    <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">B</font>
    </td>

     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">C</font>
    </td>
     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">Total Defect</font>
    </td> 
     <td width="30" bgcolor=#94B6FF align="center" height="1">
        <font color=white style="font-size: 8pt">Unit WDD</font>
    </td> 
     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">A</font>
    </td>

    <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">B</font>
    </td>

     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">C</font>
    </td>
 
     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">Total Defect</font>
    </td>
 
     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">QA WDD</font>
    </td>
    <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">A</font>
    </td>

    <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">B</font>
    </td>

     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">C</font>
    </td>
 
     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">Total Defect</font>
    </td>
 
     <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt">External WDD</font>
    </td>
	 <td width="31" bgcolor=#94B6FF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
    </td>


  </tr>
<!--</table>-->


<!--<table id="test_table">-->
<!--<table id ="test_table" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1297" id="AutoNumber1" height="63">-->

 <tr id="template_row">
  <td width="27" bgcolor=#FFFFFF align="center" height="41">
  <!--webbot bot="Validation" S-Display-Name="Si_No" S-Data-Type="Integer"
  S-Number-Separators="," B-Value-Required="TRUE" I-Minimum-Length="1"
  I-Maximum-Length="4" -->
  <input type="text" name="Si_no" size=4 style="position: relative; font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>

    <!--<td width="30" height="18">&nbsp;adad</td>-->
    <td width="36" bgcolor=#FFFFFF align="center" height="1" width="36"> <!--webbot
      bot="Validation" S-Display-Name="Ticket" S-Data-Type="Integer"
      S-Number-Separators="," B-Value-Required="TRUE" I-Maximum-Length="7" -->
  <input type="text" name="Ticket" size=4 style="position: relative; font-weight: bold; font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="7">
  </td>
	<td width="54" bgcolor=#FFFFFF align="center" height="1"><!--webbot
      bot="Validation" S-Display-Name="Description" S-Data-Type="String"
      B-Allow-Letters="TRUE" B-Allow-Digits="TRUE" B-Allow-WhiteSpace="TRUE"
      B-Value-Required="TRUE" I-Maximum-Length="300"
      S-Validation-Constraint="Less than or equal to" S-Validation-Value="300"
      --><textarea rows="3" name="Description" cols="20" style="border-style: solid; border-color: #FFFFFF"></textarea>
  </td>
    <td width="37" bgcolor=#FFFFFF align="center" height="1" ><!--webbot
      bot="Validation" S-Display-Name="understanding" S-Data-Type="Integer"
      S-Number-Separators="," B-Value-Required="TRUE" I-Maximum-Length="3" -->
	  <input type="text" name="Priority" size=4 style="position: relative; font-weight: bold; font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="3">
  </td>
    <td width="70" bgcolor=#FFFFFF align="center" height="1"><!--webbot
      bot="Validation" S-Display-Name="Understanding" S-Data-Type="String"
      B-Allow-Letters="TRUE" B-Allow-Digits="TRUE" B-Allow-WhiteSpace="TRUE"
      B-Value-Required="TRUE" I-Maximum-Length="300" -->
	  <textarea rows="3" name="Understanding" cols="20" style="border-style: solid; border-color: #FFFFFF"></textarea>
  </td>
    <td width="37" bgcolor=#FFFFFF align="center" height="1">
  
  
  <!--<input type="text" name="Planned_Start_Date" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>-->
  <DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;color:red;background-color:white;layer-background-color:white;"></DIV>
 <A HREF="#" onClick="cal1x.select(document.fp.date1x,'anchor1x','MMM/dd/yyyy'); return false;" NAME="anchor1x" ID="anchor1x">
 Click for Date</A></font>



<input type="text" name="date1x" value="" size=15 onfocus="this.blur()" style="position:relative; visibility:visible"  onClick="cal1x.select(document.fp.date1x,'anchor1x','MM/dd/yyyy'); return false;">









    <td width="30" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Actual_Start_Date" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="44" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Rff_Approval_Date" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="37" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Planned_End_Date" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="40" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Actual_End_Date" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="37" bgcolor=#FFFFFF align="center" height="1"><!--webbot
      bot="Validation" S-Display-Name="Project_Delayed" S-Data-Type="Integer"
      S-Number-Separators="," B-Value-Required="TRUE" I-Maximum-Length="8" -->
  <input type="text" name="Project_Delayed" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="44" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Planned_date_cust_signoff" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="44" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Recevied_customer_sign_off" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="27" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Status" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="122" bgcolor=#FFFFFF align="center" height="1">
  <!--webbot bot="Validation" S-Display-Name="Status" S-Data-Type="String"
  B-Value-Required="TRUE" -->
  <input type="text" name="Stage" size=18 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF">
  </td>
    <td width="45" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Assigned_resource" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" >
  </td>
    <td width="37" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Planned_Dev_Efforts" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="33" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Actual_Dev_Efforts" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="44" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Dev_Efforts" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    <td width="45" bgcolor=#FFFFFF align="center" height="1">
  <input type="text" name="Complete" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
  </td>
    
	
    <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font>
  <input type="text" name="Dev_A" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">



    </td>

    <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Dev_B" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>

     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Dev_C" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>
     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Dev_Total_Defect" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td> 
     <td width="30" bgcolor=#FFFFFF align="center" height="1">
        <font color=white style="font-size: 8pt"></font>
  <input type="text" name="Dev_Unit_Wdd" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td> 
     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="QA_A" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>

    <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="QA_B" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>

     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="QA_C" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>
 
     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="QA_Total_Defect" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>
 
     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="QA_WDD" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>
    <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Cus_A" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>

    <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Cus_B" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>

     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Cus_C" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>
 
     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Cus_Total_Defect" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>
 
     <td width="31" bgcolor=#FFFFFF align="center" height="1">
		<font style="font-size: 8pt"></font><font color=white style="font-size: 8pt"></font>
  <input type="text" name="Cus_External_Defect" size=6 style="position:relative;font-weight: bold;font-size: 9px; font-face: arial; color: #293431; background-color: white; border-style: solid; border-color: #FFFFFF" maxlength="4">
    </td>
	 <td width="31" bgcolor=#FFFFFF align="center" height="1">
        <!--webbot bot="Validation" S-Display-Name="Description"
        S-Data-Type="String" B-Allow-Letters="TRUE" B-Allow-Digits="TRUE"
        B-Allow-WhiteSpace="TRUE" B-Value-Required="TRUE" I-Maximum-Length="300"
        S-Validation-Constraint="Less than or equal to" S-Validation-Value="300"
        --><textarea rows="3" name="Comments" cols="20" style="border-style: solid; border-color: #FFFFFF"></textarea>
    </td>


  </tr>
</table>


<td align=right bgcolor=#ffffff colspan=2 width=50%>
<input type="button" name="mode" value="Add" style="border: solid 1px; position:relative; background-color: #94B6FF; color:#ffffff; font-size: 12px; font-family: verdana; font-weight: bold;width:10%" onclick="addRow()">
 </td>


&nbsp;&nbsp;&nbsp;&nbsp;<td align=right bgcolor=#ffffff colspan=2 width=50%>
<input type="submit" name="mode" value="Update" style="border: solid 1px; position:relative; background-color: #94B6FF; color:#ffffff; font-size: 12px; font-family: verdana; font-weight: bold;width:10%" >
 </td>




<p>&nbsp;</p>
<p>&nbsp;</p>
</form>


</body>

</html>

thanks

well, there is a lot of code there... and I don't have all of your libs - so i can't play with it for you.

However, a problem I have come across in IE is that it doesn't clone some data correctly, even if you are just moving nodes around. If your lucky your code will work in Firefox as well.

But I think your problem is in your onClick code... you are defining the name of the object... you should update it ie "date"+rowCount+"x" or something... also, you can use the 'this' keyword to reference the object generating the onClick event.. which may eliminate some need of element naming.

Cheers

This article has been dead for over six months. Start a new discussion instead.