Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP

Status
Not open for further replies.

iooo

Programmer
Dec 27, 2000
31
0
0
CA
Hi,
I have a Image
eg:
<% language =vbscript%>
<%
request.write(&quot;text1>&quot;)

%>
<jscript>
function FORM1_onsubmit()
{

alert(&quot;u r here&quot;)

}

<form method = &quot;get&quot;>
<input type=text name=&quot;text1&quot;>
<a href=&quot;#&quot;><img src=&quot;images/go.gif&quot; width=&quot;64&quot; height=&quot;34&quot; alt=&quot;&quot; border=&quot;0&quot;></a>

when i click this button i want the form to be submitted
what happens is

it displays the mssage &quot;u r here&quot;
but not refreshing the page

i need suggestions
thanks
 
you need to give the form an action:

<form action=&quot;somepage.asp&quot; method=&quot;get&quot;> jared@aauser.com
 
try using <input type=&quot;image&quot; src=&quot;go.gif&quot;> adam@aauser.com
 
Hi

I used <input type=&quot;image&quot; src=&quot;go.gif&quot;>

It works

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top