jquery ui - Chosen result overlap in popup window -
jquery ui - Chosen result overlap in popup window -
can help avoid issue using css, tried without solution until now. seems related container's height because content cutting in parallel popup height!
//initialize validation logic when form created formcreated: function (event, data) { selectedtotac = $('#edit-totacticid').val(); selectedfromtac = $('#edit-fromtacticid').val(); $('#edit-totacticid, #edit-fromtacticid').empty(); data.form.css('width', '450px'); data.form.css('height', '120px'); data.form.css('overflow-x', 'hidden'); data.form.css('overflow-y', 'hidden'); data.form.find('select[name=fromtacticid]').css('width', '430px'); data.form.find('select[name=totacticid]').css('width', '430px'); $.ajax({ url: window.location.protocol + '//' + window.location.hostname + ':' + window.location.port + '/default.aspx/getgrouptacticoptions', data: "", contenttype: "application/json; charset=utf-8", datatype: "json", success: function (data) { createselectopt(data); $("#edit-fromtacticid").trigger("chosen:updated"); $("#edit-totacticid").trigger("chosen:updated"); }, error: function (msg) { //error } }); $("#edit-fromtacticid").chosen({ placeholder_text_single: 'select stage', overflow_container: $(".scrolling-div") }); $("#edit-totacticid").chosen({ placeholder_text_single: 'select stage', overflow_container: $(".scrolling-div") }); data.form.validationengine(); }, //validate form when beingness submitted
i found solution thread popup dropdown outside dialog box using next old version chosen jquery plugin.
jquery-ui jquery-chosen jquery-jtable
Comments
Post a Comment