hi guys!
im having a hard time outputting the value of a textfields 'text1' and 'text2' from table 'listTable' within table 'listTable2'...the two table are within the same form...below are the codes...maybe you could help me...THANX!!!
<html>
<head>
<title>Printing With Excel</title>
</head>
<body bgcolor="#FFFFFF">
<form>
<table name="listTable" id="listTable" width="98%" border="0">
<tr>
<td colspan="3">
<div align="center"><b>MAINTAIN CLIENT</b></div>
</td>
</tr>
<tr>
<td width="14%"> </td>
<td width="62%"> </td>
<td width="24%"> </td>
</tr>
<tr>
<td width="14%"><b>Client No.</b></td>
<td width="62%"><b>
<input type="text" name="text1" size="15">
</b></td>
<td width="24%"><b> </b></td>
</tr>
<tr>
<td width="14%"><b>Client Name</b></td>
<td width="62%"><b>
<input type="text" name="text2" size="40">
</b></td>
</tr>
</table>
<table name="listTable2" id="listTable2" width="98%" border="0">
<tr>
<td colspan="3">
<div align="center"><b>MAINTAIN CLIENT</b></div>
</td>
</tr>
<tr>
<td width="14%"> </td>
<td width="62%"> </td>
<td width="24%"> </td>
</tr>
<tr>
<td width="14%"><b>Client No.</b></td>
<td width="62%"><b>
//value of text1 here
</b></td>
<td width="24%"><b> </b></td>
</tr>
<tr>
<td width="14%"><b>Client Name</b></td>
<td width="62%"><b>
//value of text2 here
</b></td>
</tr>
</table>
<input type=button value=Print onClick="rewrite(this.form)">
</form>
im having a hard time outputting the value of a textfields 'text1' and 'text2' from table 'listTable' within table 'listTable2'...the two table are within the same form...below are the codes...maybe you could help me...THANX!!!
<html>
<head>
<title>Printing With Excel</title>
</head>
<body bgcolor="#FFFFFF">
<form>
<table name="listTable" id="listTable" width="98%" border="0">
<tr>
<td colspan="3">
<div align="center"><b>MAINTAIN CLIENT</b></div>
</td>
</tr>
<tr>
<td width="14%"> </td>
<td width="62%"> </td>
<td width="24%"> </td>
</tr>
<tr>
<td width="14%"><b>Client No.</b></td>
<td width="62%"><b>
<input type="text" name="text1" size="15">
</b></td>
<td width="24%"><b> </b></td>
</tr>
<tr>
<td width="14%"><b>Client Name</b></td>
<td width="62%"><b>
<input type="text" name="text2" size="40">
</b></td>
</tr>
</table>
<table name="listTable2" id="listTable2" width="98%" border="0">
<tr>
<td colspan="3">
<div align="center"><b>MAINTAIN CLIENT</b></div>
</td>
</tr>
<tr>
<td width="14%"> </td>
<td width="62%"> </td>
<td width="24%"> </td>
</tr>
<tr>
<td width="14%"><b>Client No.</b></td>
<td width="62%"><b>
//value of text1 here
</b></td>
<td width="24%"><b> </b></td>
</tr>
<tr>
<td width="14%"><b>Client Name</b></td>
<td width="62%"><b>
//value of text2 here
</b></td>
</tr>
</table>
<input type=button value=Print onClick="rewrite(this.form)">
</form>