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!

<input type="button" ---- to link to a URL

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
<input type=&quot;button&quot; ---- to link to a URL

I've tried <input type=&quot;button&quot; name=&quot;Submit2&quot; value=&quot;Listing&quot; onclick=&quot;javascript:hello.htm&quot;>

but its not working?????
 
<input type=&quot;button&quot; name=&quot;Submit&quot; value=&quot;Listing&quot; onClick=&quot;javascript:window.location = 'hello.htm'
 
You can also try this:

<input type=&quot;button&quot; name=&quot;Submit&quot; value=&quot;Listing&quot; onclick=&quot;javasrcipt:window.parent.location.href='hello.htm'&quot;>

or this:

<input type=&quot;button&quot; name=&quot;Submit&quot; value=&quot;Listing&quot; onclick=&quot;javascript:window.open('hello.htm')&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top