摘要:
TRUNCATE TABLE [TABLENAME] 阅读全文
摘要:
function removeHmtlTag(str){ return str.replace(/]+>/g, "");//去掉所有的html标记 } 阅读全文
摘要:
使用 ExecuteReader 查询数据时,要取到output参数,需要先关闭 reader。 阅读全文
摘要:
.circle { width: 80px; height: 80px; position: relative; border-radius: 50%; margin: 0 auto; ... 阅读全文
摘要:
$(document).ready(function () { //获取单元格值改变事件不需要获取焦点 //备注:可以换成 $(".CheckCountLen").bind("blur", function () { $("#butOK").bind("click", func... 阅读全文
摘要:
$(this)[0].type;$("#id")[0].type; 阅读全文
摘要:
jQuery提供了强大的选择器让我们获取对象。在这边,我人为地将jQuery选择器分为两大部分:选择对象和筛选条件。选择对象表示要获取什么对象,筛选条件是对获取的对象进行筛选,最终留下符合某些特征的对象1.选择对象1).基本·#id 根据给定的ID匹配一个元素。例如:$("#id")·element... 阅读全文
摘要:
$("#tesetSelect").find("option:selected").text();//选中的文本$("#tesetSelect").find("option:selected").val();//选中的value 阅读全文
摘要:
//table table td{white-space:nowrap;overflow:hidden; text-overflow:ellipsis;}table {table-layout:fixed;} //div.textflow{ display:block;overflow:hidden... 阅读全文
摘要:
//注意屏幕宽度从大到小 .abc{ height:300px; border:1px solid #000; margin:0 auto} @media screen and (min-width: 1201px) { .abc {width: 1200px} ... 阅读全文