N
nadia
There is probably a easy answer to this. I want to get the value of
the selection in a listbox. The following code works happily in
mozilla but not in IE.
var selElem = window.document.getElementById(Type);
//Type is a variable name that is the same as whats on
the form
var selIndex = selElem.selectedIndex;
Type = selElem.options[selIndex].value;
I think its the last line thats the problem.
Thanks all.
the selection in a listbox. The following code works happily in
mozilla but not in IE.
var selElem = window.document.getElementById(Type);
//Type is a variable name that is the same as whats on
the form
var selIndex = selElem.selectedIndex;
Type = selElem.options[selIndex].value;
I think its the last line thats the problem.
Thanks all.