jquery 查找select ,并触发事件的实现代码

时间:2011-03-30    点击:80   
复制代码 代码如下:

var count=$("#drpCity option").length;
//查找城市
for(var i=0;i<count;i++){
var vTmp=$("#drpCity").get(0).options[i].value;
if($.trim(vTmp)==vDpoizone){
$("#drpCity").get(0).options[i].selected = true;
$("#drpCity").trigger("change");
break;
}
}
}
HTML DOM的nodeType值介绍
setTimeout和setInterval的区别你真的了解吗?
Draggable Elements 元素拖拽功能实现代码
使用jQuery实现dropdownlist的联动效果(sharepoint 2007)
使用jquery为table动态添加行的实现代码
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved