Hi All,
I want to add rows to a table dynamically which is in a JSP page.
The table is has some form elements such as textboxes, radio button & select and also hyperlinks.

I need to add a row with a cell like this
<td><input type='text' value=' ' name='qotApprBy' id='qotApprBy' size='6' disabled /><a href='#'><img src='jtfulov.gif'></a></td>

here is my my javascript snippet
var ApprovedByLeft = row.insertCell(3);
var ApprovedByNode = document.createElement("<input type='text' value=' ' name='qotApprBy' id='qotApprBy' size='6' disabled >");
var ApprovedByAnchor = document.createElement("<a href='#'>")
var ApprovedByImg = document.createElement("<img src='jtfulov.gif'>");
ApprovedByAnchor.appendChild(ApprovedByImg);
ApprovedByNode.appendChild(ApprovedByAnchor);
ApprovedByLeft.appendChild(ApprovedByNode);

But its giving me an error "Unexpected call to method or property access".
How do I solve this. Thanks.