This is the code for the function which is working in IE.Can i have the code which works for firefox
function changeSubcategoryList( parent, child ) {
emptyList( child );
if ((parent.options[parent.selectedIndex].value) == '') {
child.options[0] = new Option( 'Select Food Category', '', false, false );
}
else
{
list = categoryList[parent.options[parent.selectedIndex].value];
if (list[0].length > 0)
{
fillListPlus( child, list );
}
else
{
child.options[0] = new Option( 'None', '', false, false );
}
}
}