js 使用积累

来源:互联网 发布:按键小精灵查看源码 编辑:程序博客网 时间:2024/04/28 07:27
1.class="combobox-input" ,jquery 设置为空置:


$(".combobox-input").each(function(){
if(''==$(this).combobox('getText')||null==$(this).combobox('getText')){
$(this).combobox('setValue',''); 
}
});


2.placeholder="点击选择"   html5属性


3.关闭窗口刷新界面
function closewindow(){  
  window.location.reload();
}
0 0
原创粉丝点击