Wednesday, January 5, 2011

How to ppulate dropdown list in FireFox and IE in JQuery

var option = new Option(optionData.Text, optionData.Value);
if ($.browser.msie) {
dropdownList.add(option);
}
else {
dropdownList.add(option, null);
}

No comments:

Post a Comment