Problem with mozilla firefox browser while creating dynamic dropdown list
posted 8 years ago
function addOption(selectbox,text,value )
var optn = document.createElement("OPTION");
optn.text = text;
optn.value = value;
Problem is with the line " selectbox.options.add(optn); ". Can anyone suggest me alternate option or how to make this work.