Re: <button> and </button>

From: Date: Mon, 24 Feb 2003 06:34:31 +0000
Subject: Re: <button> and </button>
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136838@lists.php.net to get a copy of this message
got it will remember that from now on tnx ----- Original Message ----- From: "Larry Brown" <larry.brown@dimensionnetworks.com> To: "PHP List" <php-general@lists.php.net> Sent: Monday, February 24, 2003 12:24 AM Subject: RE: [PHP] <button> and </button> > The onClick should be onClick=window.location("newpage.php") and this has > nothing to do with php. > > Larry S. Brown > Dimension Networks, Inc. > (727) 723-8388 > > -----Original Message----- > From: Leif K-Brooks [mailto:eurleif@buyer-brokerage.com] > Sent: Monday, February 24, 2003 12:15 AM > To: Sunfire > Cc: php-general@lists.php.net > Subject: Re: [PHP] <button> and </button> > > This has nothing to do with PHP, but a button is used to submit a form. > You'll have to create a form with its action set to the page to direct to. > > Sunfire 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?? > > > >tnx > > > > > > > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/2003 > > > > > > > > > > -- > The above message is encrypted with double rot13 encoding. Any unauthorized > attempt to decrypt it will be prosecuted to the full extent of the law. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/2003

« previous php.general (#136838) next »