In script I am trying to do this, name = info.children[?].children['tName'].value . How can I determine what ? is supposed to be? It will be a different number depending on the table row selected from a previous screen.
My table looks like this.
<TABLE id="mytable" border=1>
<TR name='tablerow1'>
<pr:iterator results="tableLayout">
<b>
<TH><pr:field name="column_screen_txt"/> </TH>
</b>
</pr:iterator>
</TR>
Any suggestions would be greatly appreciated.
<pr:iterator results="tableData" >
<TR onClick="highlightTR('#c9cc99','cc3333',this);">
<pr:fieldIterator>
<TD><pr:field /></TD>
</pr:fieldIterator>
<TD>
<input type=hidden name=tName value=<%= request.getParameter("tName" %> >
<input type=hidden name=tDesc value=<%= request.getParameter("tDesc" %> >
<input type=hidden name=tNum value=<%= request.getParameter("tNum" %> >
<input type=hidden name=key1Value value="<pr:field name="first_ky_typcd"/>">
</TD>
</TR>
</pr:iterator>
</TABLE>
My table looks like this.
<TABLE id="mytable" border=1>
<TR name='tablerow1'>
<pr:iterator results="tableLayout">
<b>
<TH><pr:field name="column_screen_txt"/> </TH>
</b>
</pr:iterator>
</TR>
Any suggestions would be greatly appreciated.
<pr:iterator results="tableData" >
<TR onClick="highlightTR('#c9cc99','cc3333',this);">
<pr:fieldIterator>
<TD><pr:field /></TD>
</pr:fieldIterator>
<TD>
<input type=hidden name=tName value=<%= request.getParameter("tName" %> >
<input type=hidden name=tDesc value=<%= request.getParameter("tDesc" %> >
<input type=hidden name=tNum value=<%= request.getParameter("tNum" %> >
<input type=hidden name=key1Value value="<pr:field name="first_ky_typcd"/>">
</TD>
</TR>
</pr:iterator>
</TABLE>