Click to See Complete Forum and Search --> : Changing Hidden Values


Geat
02-11-2003, 03:40 AM
I'm using this piece of code to change the value of a hidden value in a form:

document.form_name.input_name.value = value

Which doesn't work in Netscape 4.x - does anyone know how to make it work in said browser?

Geat
02-11-2003, 04:02 AM
Another form I've tried is

form_name.elements['input_name'].value = value

Which again is quite happy in IE, but doesn't like NS 4.x...

Charles
02-11-2003, 04:42 AM
I think that you need to show us the entire form.