文章列表
function (s) {
var str = $.trim(s),
reg1 = /[a-zA-Z\!\@\#\$\%\^\&\*\(\)\-\+\=\|\\\/\?]/g,
reg2 = /^(\d*)(\.)(\d{1,2})(.*)$/g,
reg3 = /^(0)/,
reg4 = /(\.{1,})/g;
return (((str.replace(reg1, "")).replace(reg2, & ...
<script>
function SelectAll(objname,checkValue){
obj=document.getElementsByName(objname);
if(obj==null) return null;
for(i = 0; i <obj.length; i++){
obj[i].checked = checkValue;
}
}
</script>
HTML:
<table width="736" border="1" cellpadding="3" c ...