Re:RE: [PHP-DB] question on <select>
| From: | Neil Smith [MVP, Digital media] | Date: | Thu, 13 May 2004 17:34:43 +0000 |
| Subject: | Re:RE: [PHP-DB] question on <select> | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-34421@lists.php.net to get a copy of this message | ||
That *should* read :
document.fcountry.newcountry.value = document.fcountry.country[document.fcountry.country.selectedIndex].value;
Skip the 'options' object - I'm surprised you're not getting a javascript error, maybe you have error reporting turned off in your browser ? In any case, always 'alert' that value when you create it, so you know what you're actually submitting during testing.
At 04:06 13/05/2004 +0000, you wrote:
From: "hengameh" <haghlara@unistar-micro.com> To: <dpgirago@mdanderson.org>,======================================================== CaptionKit http://www.captionkit.com : Production tools for accessible subtitled internet media, transcripts and searchable video. Supports Real Player, Quicktime and Windows Media Player. VideoChat with friends online, get Freshly Toasted every day at http://www.fresh-toast.net : NetMeeting solutions for a connected world.<php-db@lists.php.net>Date: Wed, 12 May 2004 12:22:20 -0400 MIME-Version: 1.0 Content-Type: text/plain;charset="us-ascii"Content-Transfer-Encoding: 7bit Message-ID: <SERVERHfqR77bieLYCT00000048@mail.unistar-micro.com> Subject: RE: [PHP-DB] question on <select> <!-- function changeMenu() {document.fcountry.newcountry.value =document.fcountry.country.options[document.fcountry.country.selectedIndex].v alue; } --> </script>