简体   繁体   English

无法在Chrome的“选择框”中选择选项

[英]Not able to select options in select Box in chrome

Hi I am using Kendo UI in my project. 嗨,我在我的项目中使用Kendo UI。

I have created the select box template like this. 我已经创建了这样的选择框模板。

GENERIC_COMPONENT_COMBO  :
 kendo.template("<select id='#= id #' class='#= id #' multiple></select>"),

and i am appending the template like this. 我将像这样附加模板。

  $("#showHideColumns").append('<tr><td class="table-drawer-left-col   
 rp5">'+this.GENERIC_COMPONENT_COMBO({id:"showHideSelect"})+'
 </td></tr></table>');

and on fly i am putting options as follows: 在运行中,我的选择如下:

var data = $si.viewer.drawerData.attributes.attribute;

        $.each(data , function(key, value ) {
drawer.find("#showHideSelect").append('<option>'+value.name+'</option>');
        });

Data is coming properly, but i am not able to select options of select box in chrome. 数据正常显示,但是我无法在Chrome中选择选择框的选项。

it is working on mozilla but On chrome it is acting as disabled. 它可以在mozilla上运行,但在chrome上则被禁用。

I have not set any thing as disabled but still i am not able to select any options. 我尚未将任何内容设置为“已禁用”,但仍然无法选择任何选项。

what should i have to do so that this will work in chrome also. 我应该怎么做才能在chrome中工作。

Update kendo.web.min.js and kendo.common.min.css to latest file. 将kendo.web.min.js和kendo.common.min.css更新到最新文件。 i hope this will help.. 我希望这个能帮上忙..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM