当前位置: 代码迷 >> JavaScript >> Extjs combox 在IE上错位
  详细解决方案

Extjs combox 在IE上错位

热度:794   发布时间:2012-10-18 13:46:55.0
Extjs combox 在IE下错位
combox 的下拉框点击后排版错乱,跑到左边了.也无法选中.发firefiox中正常.
原因为.控件的名字和id一样.导致ie中出现问题.
{
			xtype : 'combo',
			name : 'startDeptId',
			id : 'startDeptId',//改为startDeptId_id
			store : startDeptStore,
			valueField : 'startDeptId',
			displayField : 'startDeptName',
			typeAhead : true,
			triggerAction : 'all',
			hiddenName : 'startDeptId',
			//lazyRender : true,
			width : 120,
			emptyText : '请选择'
		}

review js 真是痛苦。小问题多多。
1 楼 huajun29 2011-08-08  
万分感谢,回去试试, 这个问题困扰我几天了
  相关解决方案