Re: Field Value not carrying over.

From: Date: Tue, 04 May 2004 19:08:19 +0000
Subject: Re: Field Value not carrying over.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-185340@lists.php.net to get a copy of this message
I have succesfully done what you are describing in a project. If the old value is submitted then the new value is not correctly set/changed. Do alert(document.myform.myfield.value); after you change the value to check if it was really changed. Regards, Torsten >"Php" <php_list@ibcnetwork.net> wrote in message news:058c01c43209$e1aa10d0$1101a8c0@chris... >Hi, >I was sure this was possible. > >If I change a value of a form field with javascript ie: >document.myform.myfield.value = "New Value"; > >then submit that form, it submits the old value, not the new value to my php code. > >Is this even possible to do? > >Thanks

« previous php.general (#185340) next »