1. CSS 样式中宽高除了值为0以外,都需要加单位px
2. 手型:cursor:pointer;
3. 进任务管理器,找到PID的进程
打开window任务管理器查看进程,默认不显示PID列,选择"查看" --> 选择列 勾选进程PID,就可以查看所有的进程PID。然后结束掉。
4. js时间大小判断:
function checkEndTime(){
var startTime=$("#startTime").val();
var start=new Date(startTime.replace("-", "/").replace("-", "/"));
var endTime=$("#endTime").val();
var end=new Date(endTime.replace("-", "/").replace("-", "/"));
if(end<start){
return false;
}
return true;
}
获取当前时间:var myDate = new Date();
5. 取字符串的长度:
jQuery("#contextPath").val().length
6. 表格位置(居中,居左,居右)显示:
html代码中:<table align="right"></table> // align的值为:center,left , right
CSS 代码 : <table style="float:right"> // float 值可以为 left , right 居中:margin:auto;
时间: 2024-12-18 20:55:30