You don’t seem to have any text boxes in your document.
Also, you haven’t told us what the global variables box1 and box2 contain. If you mean to match text boxes with id="box1" and id="box2", then you need to surround the ID values with quotes:
Thanks !
Sorry I meant text boxes with id=“box1” and id=“box2”
Would
document.write(document.getElementById(“mylist”).value);
be a way to access the selected text (not the value ) from the
<select name=“listbox” id=“mylist”> ?
I have tried all options without any success.
Thanks very much indeed !
I tested and finally go the below to work
document.myForm.title.value = document.myForm.listbox_url.options[document.myForm.listbox_url.selectedIndex].text