Re: <button> and </button>
| From: | - Edwin | Date: | Mon, 24 Feb 2003 05:23:48 +0000 |
| Subject: | Re: <button> and </button> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136822@lists.php.net to get a copy of this message | ||
Hello,
"Sunfire" <rusty_81@msn.com> wrote:
> hi..
>
> i have a button on a web page that is supposted to go to
> another web page
> when either clicked with a mouse or when someone presses enter
> on it.. :
> <button onclick="postprayer.htm" onkeypress="postprayer.htm">
> post a prayer
> </button>
> that is my basic code for the button... my problem is the fact
> that when you click the button or hit enter on it all it does
> is refresh the page if it even does that. how would i actually
> make this button load another page
> using php??
Just wondering... why would you need a <button> just to load
another page? Aren't links enough?
- E
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/