Please, Need Help With Tables

Could you tell me how I can give each row and cell an ID when the table
from a text fileis loaded using activex control. This is the main part of
my code:

</SCRIPT>

<OBJECT ID="FulReqTDC" name="TableResults" CLASSID
="CLSID:333C7BC4-460F-11D0-BC04-0080C7055A83">
 <PARAM NAME="TextQualifier" VALUE="!">
 <PARAM NAME="FieldDelim" VALUE="|">
 <PARAM NAME="DataURL" VALUE="FulReq.txt">
 <PARAM NAME="UseHeader" VALUE="true">
</OBJECT>

</HEAD>
<BODY>

<TABLE BORDER="1" ID="fulTable" DATASRC="#FulReqTDC" CELLSPACING="0">


  <THEAD>
   <TR bgcolor="#C0C0C0">
     <TD><FONT COLOR="#0000FF"><B><U><DIV ID
="LV">Loan/Visit</DIV></U></B></FONT></TD>
     <TD><FONT COLOR="#0000FF"><B><U><DIV ID="tmFul">Time
FulFilled</DIV></U></B></FONT></TD>
     <TD><FONT COLOR="#0000FF"><B><U><DIV ID="chgTo">Changed
To</DIV></U></B></FONT></TD>
   </TR>
 </THEAD>

 <TBODY>
   <TR>
     <TD><DIV DATAFLD="Loan_Visit" name="Loan_Visit" onclick
="loanVisitClicked(FulReqTDC);" ondblclick="loanVisitDblClicked
();"></DIV></TD>
     <TD><DIV DATAFLD="TimeFulFilled" name="TimeFulFilled"
ondblclick=timeFulDblClicked();></DIV></TD>
     <TD><DIV DATAFLD="ChangedTo" name="Changed To"
ondblclick=changedToDblClicked();></DIV></TD>
   </TR>
 </TBODY

</TABLE>

I need to be able to determine what cell they clicked, what row it is on,
and the data in that cell. I got it for the header of the table, but since
the data is loaded using the control, how do I put an ID on each cell?
Since this method is using this class can you tell it an id for each cell
that it fills with data to acces it later?

Please Help;
Steve

Received on Thursday, 27 February 2003 14:19:57 UTC