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@xxxxxxxxxxxxxxxxx> To: <dpgirago@xxxxxxxxxxxxxx>, <php-db@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: question on <select>
<!-- function changeMenu() { document.fcountry.newcountry.value = document.fcountry.country.options[document.fcountry.country.selectedIndex].v alue; } --> </script>
======================================================== 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 Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php