I have no problem in using JScript to change the menu options, however I am having more trouble than I would like.
The html doc (IMsubmit.htm) consists of a form (form1) which contains the dropdown, (touser)
Next to the form is an IFRAME, (IMwin) into which another CGI generated .htm page is loaded.
This .htm file is where I want to place the code:
function upDate(){
window.getElementById[touser].options[0].text='tels';
window.getElementById[touser].options[1].text='paul';
window.getElementById[touser].options[2].text='test';
}
</script>
I have also tried 'top.form1.touser.options[0].text'
and 'parent.form1.touser... etc.....
I know this should work but it isnt. Help!!!! Mixed Linux/Win2000 Network Administrator
The html doc (IMsubmit.htm) consists of a form (form1) which contains the dropdown, (touser)
Next to the form is an IFRAME, (IMwin) into which another CGI generated .htm page is loaded.
This .htm file is where I want to place the code:
function upDate(){
window.getElementById[touser].options[0].text='tels';
window.getElementById[touser].options[1].text='paul';
window.getElementById[touser].options[2].text='test';
}
</script>
I have also tried 'top.form1.touser.options[0].text'
and 'parent.form1.touser... etc.....
I know this should work but it isnt. Help!!!! Mixed Linux/Win2000 Network Administrator