On Wed, 27 Aug 2003 01:38:22 -0700, "klhaines" <kl******@cox.net>
wrote:
You can use the HTML element like so:
<input TYPE="image" SRC="http://www.siteaddress.com/submitimage.gif"
NAME="imagesubmit1" ALIGN="top" HEIGHT=50 WIDTH=50>
This will cause the form to be submitted (to the form action) when clicked.
Is that what you're asking?
Sort of ... I think. Bear in mind that I am so new to Javascript as
to give new meaning to the word "green."
Would it help if I provide a couple of lines of code? Here is what I
have, thus far:
<td height="31" width="45" valign="middle" align="center"
bgcolor="#999999">
<img border="0" src="IMAGES/search.png" width="45" height="31"></td>
<td height="31" width="160" valign="middle" align="center"
bgcolor="#999999">
<input type="text" name="searchbox" size="20" class="forminput"></td>
What I want to occur is, for the search string to be submitted when
the user clicks on the search.png graphic.
Maybe a better example of what I am trying to achieve would be to
direct you to
www.linux.org -- I want to click on my search.png
"button" graphic the same as how this site uses the "login" button
graphic to submit the form data.
I tried to emulate their code, but I don't seem to have done it
correctly.
BTW, I want to thank you for the help.