W3C home > Mailing lists > Public > www-html@w3.org > July 2000

Change the value of an Hidden field !!!!

From: Arnaud Castéran <ac@e-car.fr>
Date: Tue, 18 Jul 2000 11:56:28 +0200
Message-ID: <007101bff09e$716c86a0$0a0ba8c0@ecar.fr>
To: <www-html@w3.org>
Hello,

I want to change the value of an hidden field
I'm doing a OnChange on a select field : OnChange="new_value()"
And the function is :

<script language="JavaScript1.2">

function new_value();
document.name_form.name_hidden.value = document.name_form.name_select.value;
 }

</script>

It work with MSIE but not with Netscape.
Do you know what's wrong ?

Thanks

Sorry for my english
Received on Tuesday, 18 July 2000 05:57:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT