[jQuery] OPTGROUP in Opera

[jQuery] OPTGROUP in Opera


function getRegions(country, div_id){
    var i;
    $.getJSON("tools/getregions.php",
    { ctr: country },
    function(json){
        for(var i = 0; i < json.length; i++)
        {
            opts = "";
            for(var j = 0; j < json[i].TOWNS.length; j++)
            {
                opts += "<option value=\"" + i + "," + j + "\">" +
json[i].TOWNS[j] + "</option>";
            }
            $("<optgroup label=\" " + json[i].REGION + "\">" + opts + "</
optgroup>").appendTo($(div_id));
        }
        $(div_id).val("-");
        $(div_id).removeAttr("disabled");
    });
}
This function generates OPTION in OPTGROUPs. Opera generates only
OPTGROUP LABELs.. no options
Need help with this. And want to know if anything wrong with this
approach to populate select OPTIONS.
Thanks.