javascript小技巧

来源:互联网 发布:php软件开发难吗 编辑:程序博客网 时间:2024/05/21 11:01
屏蔽右键菜单
document.oncontextmenu = new Function("return false;")

不适用javascript点击文字直接选中控件

<input name="userName" id="userName" type="radio"/><label for="userName">选中radio<label/>


此文章不定期更新。转载表名出处:http://blog.csdn.net/hfmbook/article/details/19407897

0 0
原创粉丝点击