I was wondering if anyone here knows how to use command buttons to link to another page? I've tried various things (most of which I can no longer remember, lol), but they won't work. Can anyone help me? Please reply as soon as possible...
Thankyou.![]()
I was wondering if anyone here knows how to use command buttons to link to another page? I've tried various things (most of which I can no longer remember, lol), but they won't work. Can anyone help me? Please reply as soon as possible...
Thankyou.![]()
Last edited by musicgal3; 11-24-2007 at 01:59 AM.
Command buttons is pretty vague. A button though is a specific type of an HTML input element (and so is a submit button). So, for a button to load (link to) another page you have two basic choices -
scripting (requires javascript enabled):
or a basic HTML form action (requires no javascript):HTML Code:<input type="button" onclick="window.location='http://www.google.com/'" value="Google">
Either of these two approaches can have many variations and/or styling.HTML Code:<form action="http://www.google.com/"> <div> <input type="submit" value="Google"> </div> </form>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thankyou sooo much! This really helped & it works! Thanks again.![]()
Bookmarks