
to add row dynamically in table
Quote:
> Hi All,
> Using VB Script i want to dynamically create a row (during runtime) in a
table whenever i click ADD ROW button.
Quote:
> Thank you
> Regards
> MMK
> -----------------------------
> This message is posted by http://asp.forumszone.com
Well..off the top of my head:
<script language="VBScript">
Sub cmbAddRow_OnClick()
Dim objRow
Dim objCell
Set objRow = Form1.insertRow()
Set objCell = objRow.insertCell()
objCell.innerHTML = "<b>I</b>nserted <b>R</bow and <b>C</b>ell"
Set objRow = Nothing
Set objCell = Nothing
End Sub
</script>