hi
this particular piece of code is not working in netscape.
pls help me
function getList(listfro m, listto){
var currSelect = document.forms["actionmast er"].elements[listfrom];
var strid = "";
for (i = 0; i < currSelect.opti ons.length; i++)
{
if (strid.length > 0)
{
strid = strid + "," + currSelect.opti ons(i).innerTex t;
}
else
{
strid = currSelect.opti ons(i).innerTex t;
}
}
document.forms["actionmast er"].elements[listto].value = strid;
return (strid == '' ? false : true);
}
How do i make this browser compatible..... .....?
thanx in anticipation
manu
this particular piece of code is not working in netscape.
pls help me
function getList(listfro m, listto){
var currSelect = document.forms["actionmast er"].elements[listfrom];
var strid = "";
for (i = 0; i < currSelect.opti ons.length; i++)
{
if (strid.length > 0)
{
strid = strid + "," + currSelect.opti ons(i).innerTex t;
}
else
{
strid = currSelect.opti ons(i).innerTex t;
}
}
document.forms["actionmast er"].elements[listto].value = strid;
return (strid == '' ? false : true);
}
How do i make this browser compatible..... .....?
thanx in anticipation
manu
Comment