asp.net 中 DropDownList 加入可输入功能解决方案
摘要: 先把这段JS代码放到你页面的HTML中去function catch_keydown(sel) { switch(event.keyCode) {case 13: //Enter;sel.options[sel.length] = new Option("","",false,true);event.returnValue = false;break;case 27: //Esc;alert("t...
阅读全文
posted @
2008-11-20 16:04 小柯 阅读(1519) |
评论 (1) 编辑