EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: joe on March 22, 2013, 04:59:27 PM



Title: Firefox, dialog, iframe, and combo box
Post by: joe on March 22, 2013, 04:59:27 PM
I created a dialog using iframe to open another page as content.  IE and crome work but firefox doesn't render combo boxes correctly:

<select name="DocumentType" id="DocumentType" class="easyui-combobox selectMainWidth2"
                            data-options="
                                valueField:'id',
                                textField:'text',
                                editable:false,
                                url:'../ajaxCompany.aspx?a=getDropDownJSON&aID=getSVDocTypeJSON',
                                required:true, 
                                validType:'notFirst[\'[Select Type]\']',
                                onLoadSuccess:function(){
                                    if($(this).combobox('textbox').val() != ''){
                                        //de-activate combobox validation
                                        $(this).combobox('textbox').removeClass('validatebox-text validatebox-invalid');
                                    }
                            }">