Hi,
I want to display the vale from a hidden form element as text in a document. I want it to also change as the value changes with mouseovers etc. This comes from a php generated form so I could do with it all fitting in the <a onmouseover="" part of the page.
I tried:
document.write(document.forms.myform.myinput.value) but it did not work. I also tried document.getelementbyid("mydiv").innerHTML=document.forms.myform.myinput.value that did not work either
I tried all sorts of wierd things. I managed it to alert the value but not write it!!
This seems like it should be really easy. Am I missing something in the getting the value part.
Please help this is driving me nuts!!
Thanks,
Martin