I have a subform which contains a table. In the html section of that table, i have given it an id.On the onload event of the form, I try to get the handle of the table as under:
alert(document.forms[0].getElementById(“id”))
But this alert does not fire.
Please tell me why.
Thanks a lot.
Subject: Unable to get subform table id handle on onload event of form.
It would sure be helpful if you can provide more details. Do you work on a Notes (Client) or Domino (Browser) application? I presume the later.When you check the source code in the Browser is the id there?
And isn’t getElementById a function of the document rather the form?
A further chance to get better help is to have a proper name. We don’t hide in this forum.
Hth
stw