Re: Re: Field Value not carrying over.
| From: | PHP | Date: | Tue, 04 May 2004 21:10:10 +0000 |
| Subject: | Re: Re: Field Value not carrying over. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185349@lists.php.net to get a copy of this message | ||
Oops,
Never mind, I found the problem.
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>