From what i have read i will need to set a hidden field within my jsp, which is fine. I have set the jsp up as follows.
I would like to set this field with the javascipt. So far i've had no success using some of the following methods.
Originally posted by Leigh Taylor: Should have double checked before posting though.
Indeed. This is known as a "red herring" and as you can see, it only causes confusion.
All errors were similar to 'form.elements.testOutput is null or not an object'. No idea why that is? Any thoughts?
The way that you are addressing the elements is fairly archaic. The use of element ids and document.getElementId() (or equivalent in whatever JS library you might adopt), is less problematic and preferred.