garp
08-30-2004, 11:39 AM
Hi everyone,
This is part of a JS file that checks the form submission to make sure that certain options have been selected. I've added the if section which will modify the form input string (replace "GKEY" with "TKEY") if the user has selected a particular option (127, 126 or 133).
This works fine in IE but Netscape / Firefox will only do the checking, not the string replacement. Is there anything in my added code that the mozilla browser does not recognize as valid?
Any insight would be greatly appreciated! Much thanks.
if(dml.pm_CL[i].checked)
{
rb = true; //as long as one is chosen this is set to true
if (dml.pm_CL.value=('127'||'126'||'133')) //get automatic search index based on collection selected
{
dml.pm_SC.value="TKEY";
}
This is part of a JS file that checks the form submission to make sure that certain options have been selected. I've added the if section which will modify the form input string (replace "GKEY" with "TKEY") if the user has selected a particular option (127, 126 or 133).
This works fine in IE but Netscape / Firefox will only do the checking, not the string replacement. Is there anything in my added code that the mozilla browser does not recognize as valid?
Any insight would be greatly appreciated! Much thanks.
if(dml.pm_CL[i].checked)
{
rb = true; //as long as one is chosen this is set to true
if (dml.pm_CL.value=('127'||'126'||'133')) //get automatic search index based on collection selected
{
dml.pm_SC.value="TKEY";
}