RBAC介绍 http://www.lyblog.net/detail/552.html
复选框用jquery控制,判断选中用prop取checked字段 http://blog.csdn.net/awj3584/article/details/21469971
刷新或关闭页面弹提示框保存内容 http://zhidao.baidu.com/link?url=v0x6iPXRjLC8xZtUvKE3oYxAwuDBbyAiHFFPrIfWvkARw1ZPf1rWreWd3RB4kGM6phqdhITWP_uacLBa7Jd_K_Rbk8_oKb8hrUdJPsVUI6O
window.onbeforeunload =
function
(e)
//绑定刷新等事件
{
var
message =
'Test'
//设定提示消息
if
(
'Netscape'
== navigator.appName)
return
e.preventDefault(),message
//针对Netscape内核的提示方式,阻止默认动作 後返回提示消息即可
window.event.returnValue = message
//针对IE等的提示方式
}
sublimeText 设置折叠效果
"fold_buttons": true,
"fade_fold_buttons": false,
"fade_fold_buttons": false,
打开新页面,不覆盖原来的
菜单栏-Preferences-Settings User 加上配置 "preview_on_click": false,