logo

New Response

« Return to the main article

You are replying to:

  1. I was able to use an image for a submit button using the following code: (The trick seemed to be the return false; statement. Otherwise it would return x & y coordinates and not call the doSearch function)

    //<input type="text" id="oName" accesskey="S" name="Query" size="20" maxlength="40" title="Enter your query in here !"/> &nbsp<input type="image"onClick="doSearch( this.form.Query ); return false;" src="/pathtoimage/go.jpg?OpenImageResource" border =0>

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: