easyui combobox输入长度问题 本帖最后由 liuliu26 于 2013-01-10 17:28:39 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $('#cc').combobox({ required : true, url : 'aa.json', textField : 'text', valueField : 'id', mode : 'remote', method:'post', panelHeight : 'auto', width:150, delay : 500, value : '',onChange:function(newValue,oldValue){var options=$(this).combobox("options");if(newValue.length>2)options.url='aa.json';elseoptions.url='';}} 楼上方法不错:$('#cc').combobox({ required : true, url : 'aa.json', textField : 'text', valueField : 'id', mode : 'remote', method:'post', panelHeight : 'auto', width:150, delay : 500, value : '',onChange:function(newValue,oldValue){var options=$(this).combobox("options");if(newValue.length>2)options.url='aa.json';elseoptions.url='';}}) js一个奇怪的问题。思考了一上午没弄明白是什么原因 求破 如何通过坐标得到Dom元素 正则表达式 style.backgroundImage 值的问题 这个DIV模拟是怎么实现的? 100分 web文本编辑器多个内容版本保存的问题!!难! js高手过来集合! 请问各位老鸟们怎样用JavaScript来画图表。 jquery accordion 动态增加内容,效果就不显示了 ExtJs与Action的数据交互问题 表单需要JS判断,IE下能正常提交,到火狐就不行了,请大大帮忙下
required : true,
url : 'aa.json',
textField : 'text',
valueField : 'id',
mode : 'remote',
method:'post',
panelHeight : 'auto',
width:150,
delay : 500,
value : '',
onChange:function(newValue,oldValue){
var options=$(this).combobox("options");
if(newValue.length>2)
options.url='aa.json';
else
options.url='';
}}
required : true,
url : 'aa.json',
textField : 'text',
valueField : 'id',
mode : 'remote',
method:'post',
panelHeight : 'auto',
width:150,
delay : 500,
value : '',
onChange:function(newValue,oldValue){
var options=$(this).combobox("options");
if(newValue.length>2)
options.url='aa.json';
else
options.url='';
}})