L
level300
Hello all.
I am running into a problem with the code below. The error it returns
is
"sel.options is not a function". NN7.1
fucntion setproject(xsel)
{
var sel=xsel.lstProjects;
var projectname=sel.options[sel.selectedIndex].text;
var target=opener.targetfield;
var strtarget='S'+target
var strtarget2='hyper'+target
opener.document.forms[0].elements[strtarget].value=sel.value;
opener.document.forms[0].all[strtarget2].replaceAdjacentText('afterBegin',projectname.substring(8,projectname.length));
}
Thanks in advance.
Rick
I am running into a problem with the code below. The error it returns
is
"sel.options is not a function". NN7.1
fucntion setproject(xsel)
{
var sel=xsel.lstProjects;
var projectname=sel.options[sel.selectedIndex].text;
var target=opener.targetfield;
var strtarget='S'+target
var strtarget2='hyper'+target
opener.document.forms[0].elements[strtarget].value=sel.value;
opener.document.forms[0].all[strtarget2].replaceAdjacentText('afterBegin',projectname.substring(8,projectname.length));
}
Thanks in advance.
Rick