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!

How do i open another page with onclick event in an ainput type=image?

Status
Not open for further replies.

marcela24

Programmer
Feb 17, 2003
72
0
0
NL
<input name=&quot;imageField&quot; type=&quot;image&quot; src=&quot;images/bt_adicionar.gif&quot; width=&quot;78&quot; height=&quot;18&quot; border=&quot;0&quot; onclick=&quot;location.href('cadastrar_usuario.asp')&quot;/>

I want to open the page 'cadastrar_usuario.asp' in the same frame. But when i click the button it seems to do nothing. How can i do this work fine?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top