I have created a Dynamic Table by invoking a fucntion using Java Script. My function creates 5 columns of which 3 are text boxes. For the 1st text box I want to create a datepicker instead of the text box. Is it possible. Here is my function code.

```
function insertRow(X)
    {
        eval(X);

```

//nodeArray = HarvestEstimate.Blocks; is the value that I'm getting through a procedure call from my cs file. 
 nodeArray = HarvestEstimate.Blocks;

```
       for (var count = 0; count < nodeArray.length; count++)
       {
            var table=document.getElementById("statstable");
            var row = table.insertRow(table.rows.length);

            var text = nodeArray[count]["Block"];
            var value = nodeArray[count]["BlockId"];

            var cell1=row.insertCell(0);
            var t1=document.createElement("Label");
                t1.for = "lblBlockID"+index;
                t1.innerHTML  = text;;
                cell1.appendChild(t1);

            var cell2=row.insertCell(1);
            var t2=document.createElement("Lable");
                t2.for = "lblBlockName"+index;
                t2.innerHTML  = value; // ;
                cell2.appendChild(t2);

```

// This is WHERE I WANT TO HAVE A DATE PICKER. As of now it is a textbox for "cell3"

```
            var cell3=row.insertCell(2);
            var t3=document.createElement("input");
                t3.id = "txtEstStartDt"+index;
                cell3.appendChild(t3);

            var cell4=row.insertCell(3);
            var t4=document.createElement("input");
                t4.id = "txtEstTotes"+index;
                cell4.appendChild(t4);

            var cell5=row.insertCell(4);
            var t5=document.createElement("input");
                t5.id = "txtEstPicks"+index;
                cell5.appendChild(t5);

                index++;
        }

    }

```