Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
07-04-2012, 12:34 AM #1
- Join Date
- Oct 2011
- Thanked 1 Time in 1 Post
------| QUICK HELP: Textbox onclick redirect to another page |--------
So Basically I want to do this
<input type="text" onclick="Redirect to another page" class="searchfeild" />
07-04-2012, 02:13 AM #2
If the page is on the same web site as the tag, then simplify it toCode:<anytag onclick="location.href='http://anysite.com/anyfolder/anyfile.xxx';" />
If the page is on the same web site and in the same folder as the tag, then simplify it toCode:<anytag onclick="location.href='/anyfolder/anyfile.xxx';" />
And variations on the above.Code:<anytag onclick="location.href='anyfile.xxx';" />
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.