I need some help in making submit button into graphics that when clicked upon carry out the same function as the submit button.
Currently my code looks like this:
--------------------------------------------------------
<HTML>
<BODY>
<FORM METHOD="POST" NAME="login" ACTION="webdb.asp" onSubmit="return checkPass()">
<TABLE width=600 align = center>
<TR>
<TD align=center BGCOLOR=#000077>
<font face="Arial,Helvetica" color=#ffffff><font size=+2>Internet BackPocket Database</font></font>
</TD>
<td align=center>
<img src="bp_logo_sm.gif" >
</td>
</TR>
<TR>
<TD BGCOLOR=#FFFFCC>
List all customers with BackPocket service
</TD>
<TD align= center>
<input name="Customers" type="submit" value="Customers" onclick="javascript:gotonectpage(this);">
</TD>
</TR>
<TR>
<TD BGCOLOR=#FFFFCC>
...... other submit buttons with values
--------------------------------------------------------
For example my first submit button carries the value "Customers", how would I replace the submit button with a graphic but have the same effect as just clicking the submit button.
Grateful for any help. Thanks.
Taha
Currently my code looks like this:
--------------------------------------------------------
<HTML>
<BODY>
<FORM METHOD="POST" NAME="login" ACTION="webdb.asp" onSubmit="return checkPass()">
<TABLE width=600 align = center>
<TR>
<TD align=center BGCOLOR=#000077>
<font face="Arial,Helvetica" color=#ffffff><font size=+2>Internet BackPocket Database</font></font>
</TD>
<td align=center>
<img src="bp_logo_sm.gif" >
</td>
</TR>
<TR>
<TD BGCOLOR=#FFFFCC>
List all customers with BackPocket service
</TD>
<TD align= center>
<input name="Customers" type="submit" value="Customers" onclick="javascript:gotonectpage(this);">
</TD>
</TR>
<TR>
<TD BGCOLOR=#FFFFCC>
...... other submit buttons with values
--------------------------------------------------------
For example my first submit button carries the value "Customers", how would I replace the submit button with a graphic but have the same effect as just clicking the submit button.
Grateful for any help. Thanks.
Taha