Asp,Php,Jssdk,mysql,mssql,微信公众号开发,小程序开发-学习笔记 收集日常学习笔记和重点,交流QQ:79657181,手机/微信:18611436777

js判断checkbox多选框是否被选定

<form name="dkcms" action="?action=save_add" method="post" onSubmit="return check();">


<input type="checkbox" id="xieyi" />


function check()

2018年10月27日 | 发布:anco | 分类:JavaScript | 评论:0

jquery_遍历数组下级元素

<style type="text/css">

#one{ width:1000px; height:800px; border:1px solid #0000FF; margin:30px}

#two{ width:800px; height:600px; border:1px solid #FF0000; margin:30px}

#three{ width:600px; height:400px; border:1px solid #FF00FF; margin:30px}

2018年10月21日 | 发布:anco | 分类:jquery | 评论:0

jquery_遍历数组上级元素

<style type="text/css">

.one{width:1000px; height:800px; border:1px solid #FF0000}

.two{width:800px; height:600px; border:1px solid #000000; margin:50px;}

.three{width:700px; height:500px; border:1px solid #CC00FF; margin:50px;}

2018年10月15日 | 发布:anco | 分类:jquery | 评论:0

jquery自动获取到当前页面某个id然给他给加css

jquery自动获取到当前页面某个id然给他给加css,如果有这个id就给他加上一个css,如果没有就退出查询

往id为nav2的元素新增个class方法 on

存在元素添加,不存在直接返回

<script type="text/javascript">

2018年10月13日 | 发布:anco | 分类:jquery | 评论:0

asp取出字段中的年月日小时分方法

<%=Year(rscao("gl_date"))&"-"&Right("0"&Month(rscao("gl_date")),2)&"-"&Right("0"&Day(rscao("gl_date")),2)&" "&Right("0"&Hour(rscao("gl_date")),2)&":"&Right("0"&Minute(rscao("gl_date")),2)&":"&Right("0"&Second(rscao("gl_date")),2)%>

2018年10月2日 | 发布:anco | 分类:asp | 评论:0