会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
旺仔小虎屁
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2019年4月
wpf1
摘要: emCombobox.Items[2].IsEnabled = false; 隐藏下拉框里面的一个item wpf 单例模式。 [DllImport("user32", CharSet = CharSet.Unicode)] static extern IntPtr FindWindow(strin
阅读全文
posted @ 2019-04-22 14:32 旺仔小虎屁
阅读(152)
评论(0)
推荐(0)
2018年1月
防止enter提交表单
摘要: 如何防止回车(enter)键提交表单,其实很简单,就一句话。onkeydown="if(event.keyCode==13)return false;"把这句写在from标签里面就好了。
阅读全文
posted @ 2018-01-31 15:24 旺仔小虎屁
阅读(75)
评论(2)
推荐(0)
html保留空格
摘要: white-space:normal;就是正常,和不设置一样,连续空格和空行都只会显示一个空格。 white-space:nowrap;不换行是什么意思呢?正常情况下,当我们的文本超出了文本域,文本就会自动折行,这个设置就是说不自动折行了,而是碰到换行标签<br />才换 white-space:p
阅读全文
posted @ 2018-01-31 10:18 旺仔小虎屁
阅读(189)
评论(0)
推荐(0)
radio选中与不选中
摘要: $("input[name='bankCardType']").val("sdf"); $('input:radio[name="bankCardType"]').attr("checked",false); 验证半角字符和半角日文输入 str="中文;;a" alert(str.match(/[\
阅读全文
posted @ 2018-01-22 13:40 旺仔小虎屁
阅读(147)
评论(3)
推荐(0)
php删除文件夹
摘要: function deldir($dir) { $dh=opendir($dir); while ($file=readdir($dh)) { if($file!="." && $file!="..") { $fullpath=$dir."/".$file; if(!is_dir($fullpath
阅读全文
posted @ 2018-01-17 15:46 旺仔小虎屁
阅读(104)
评论(0)
推荐(0)
2017年12月
搜索条件以及结果返回
摘要: php,获得url,传入下一个页面,返回时载入 获取url方法:
阅读全文
posted @ 2017-12-25 16:21 旺仔小虎屁
阅读(132)
评论(3)
推荐(0)
取消默认事件更牛逼的做法
摘要: event.returnValue的作用就是:当捕捉到事件(event)时,判断为false,则阻止当前事件继续运行,window.event.returnValue = false;之后的语句将都不会执行。 return false 不是阻止事件继续向顶层元素传播,而是阻止浏览器对事件的默认处理。
阅读全文
posted @ 2017-12-21 18:17 旺仔小虎屁
阅读(120)
评论(0)
推荐(0)
js滚动条滚动到底部触发事件
摘要: whereunix_timestamp(license_effective_period) >= unix_timestamp('2000-09-12')
阅读全文
posted @ 2017-12-12 15:49 旺仔小虎屁
阅读(220)
评论(0)
推荐(0)
style样式不换行
摘要: style="white-space:nowrap;"不自动换行<font color="" size=""></font>设字体yii2 gridview 'contentOptions'=>['style'=>'min-width:100px'],控制列的宽度'format' => ['date
阅读全文
posted @ 2017-12-06 17:05 旺仔小虎屁
阅读(284)
评论(0)
推荐(0)
yii2 gridview checkbox
摘要: 给checkbox(在GridView里的)添加一个value
阅读全文
posted @ 2017-12-04 16:55 旺仔小虎屁
阅读(385)
评论(0)
推荐(0)
1
2
下一页
公告