I am trying to use radio buttons to extend my form
I tried check the value of radio button then display the addition fields to the form using document.write("..."). However, when I click on the radio button, it shows the extended part but all the other fields disappear(the fields that display on the screen at beginning)
I have a questions regarding the use of innerHTML
you used myL.innerHTML=document.forms.elements.value; to display the value
I tried to display that value in a text field eg
myL.innerHTML = "<input type ='text' value = 'document.forms.elements.value'>". However, it displays 'document.forms.elements.value'.
How could I resolve this problem?