The select box dynamic add option not working in firefox3.6

zombie111

New Member
I am having the below code for population the select box dynamically.THis works fine in all browsers except FireFox 3.6\[code\]var option25 = document.createElement("option");option25.text = '25 miles';option25.value = http://stackoverflow.com/questions/12772856/25;if(rad =='25'){ option25.selected = 'selected';}var combo = document.getElementById('ddlProximity_' + controlId);combo.add(option25); //not working in FF3.6\[/code\]Any suggestions
 
Back
Top