08 2016 档案
摘要:<input id="year3" class="wid50" onkeyup=" if (this.value.length == 1) { this.value = this.value.replace(/[^1-9]/g, '') } else { this.value = this.valu
阅读全文
摘要:创建服务并安装: http://jingyan.baidu.com/article/fa4125acb71a8628ac709226.html 批处理文件制作: http://jingyan.baidu.com/album/39810a23d17c8fb636fda6ca.html?picindex
阅读全文
摘要:string strcode = "汉字汉字汉字"; byte[] buffer = Encoding.UTF8.GetBytes(strcode); string msg = Encoding.UTF8.GetString(buffer, 0, buffer.Length);
阅读全文
摘要:$('#com').combobox('getValue')获取当前选中的值$('#com').combobox('getText')获取当前选中的文字
阅读全文
摘要:每一次操作select的时候,总是要出来翻一下资料,不如自己总结一下,以后就翻这里了。 比如<select class="selector"></select> 1、设置value为pxx的项选中 $(".selector").val("pxx"); 2、设置text为pxx的项选中 $(".sel
阅读全文
摘要:js 给文本框赋值:<script>//js赋值方法:document.getElementById("txt1").value="abcd";//jquery赋值方法$("#txt1").val("你需要赋的值");</script><input type="text" id="txt1" val
阅读全文