hi,
i'm using clonenode property to add rows ....
i'm not getting the option ie a null value is inserted automatically in the combobox......here is my code!!!!!!!

<script>
function addRow(){
//var obj = document.getElementById("tbl");
//var firstRow = obj.children(0);
//var newNode = obj.children(0).cloneNode(false);
//obj.insertBefore(newNode, firstRow);
var obj = document.getElementById("tbl");
var obj1 = document.getElementById("tblmain");
var newNode = obj1.children(0).cloneNode(true);
obj.appendChild(newNode);
}
</script>
</HEAD>
<BODY>


<table id="tbl" width="300" border="1">
<tr>

</tr>
</table>



<table id="tbl2" width="300" border="1">
<tr>
<td><input type="button" value="add" onClick="addRow()" id=button1 name=button1></td>
</tr>
</table>



<table width="95%" id="tblmain">
<tr>
<td width="20%"><TEXTAREA name=txtgoal>fafasf</TEXTAREA></td>
<td width="20%">

<select id="select1" name="cbocompcat">


</select>
</td>

<td width="20%">
<select id="select1" name="cboGencat">
<option></option>
<option selected>giri</option>
</select>

</td>

<td height="1" width="478">
<p><span name="date" id="date"><input class="TextBox18" name="txtdate" id="txtdate" size="15" valign="top" >

</td>
<td width="20%"><TEXTAREA name=txtresult></TEXTAREA></td>


</tr>

</table>



<table width="95%" id="tblhidden" style="VISIBILITY: hidden">
<tr>
<td width="20%"><TEXTAREA name=txtgoal></TEXTAREA></td>
<td width="20%">

<select id="select1" name="cbocompcat">
<option value=""
selected>Select</option>

</select>
</td>

<td width="20%">
<select id="select1" name="cboGencat">
<option value=""
selected>-----Select-----</option>

</select>

</td>

<td height="1" width="478">
<p><span name="date" id="date"><input class="TextBox18" name="txtdate" id="txtdate" size="15" valign="top" >
<IMG height=21 id=ChoseDate name=ChoseDate onclick="vbscript:CALL GetDate(Me)" src ="calendar.gif" width=25 indexval="txtdate"></span></p>
</td>
<td width="20%"><TEXTAREA name=txtresult></TEXTAREA></td>


</tr>

</table>