上一页 1 2 3 4 5 6 7 ··· 10 下一页
  2016年6月28日
摘要: $("*"):选取所有元素 $(this):选取当前 HTML 元素 $("p.intro"):选取 class 为 intro 的 <p> 元素 $("p:first"):选取第一个 <p> 元素 $("ul li:first"):选取第一个 <ul> 元素的第一个 <li> 元素 $("ul l 阅读全文
posted @ 2016-06-28 15:28 爱海滔滔 阅读(107) 评论(0) 推荐(0) 编辑
  2016年5月13日
摘要: //1.引入jquery <script type="text/javascript" src="../../../base/zui/jquery-1.8.3.min.js"></script> //2.将包含写在div 内部 <div class="pagination" id="displayp 阅读全文
posted @ 2016-05-13 16:49 爱海滔滔 阅读(421) 评论(0) 推荐(0) 编辑
  2016年5月6日
摘要: 16:50:36 2016-05-06 next(): 函数用于筛选每个匹配元素之后紧邻的同辈元素,并以jQuery对象的形式返回。 hasClass():函数用于指示当前jQuery对象所匹配的元素是否含有指定的class类名。 例: jQueryObject.hasClass( classNam 阅读全文
posted @ 2016-05-06 16:51 爱海滔滔 阅读(268) 评论(0) 推荐(0) 编辑
  2016年5月5日
摘要: datagrid:向用户展示列表数据。 dialog:创建或编辑一条单一的用户信息。 form:用于提交表单数据。 messager:显示一些操作信息。 阅读全文
posted @ 2016-05-05 16:41 爱海滔滔 阅读(110) 评论(0) 推荐(0) 编辑
  2016年5月3日
摘要: var myDate = new Date();myDate.getYear(); //获取当前年份(2位)myDate.getFullYear(); //获取完整的年份(4位,1970-????)myDate.getMonth(); //获取当前月份(0-11,0代表1月)myDate.getDa 阅读全文
posted @ 2016-05-03 11:15 爱海滔滔 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 案例: <html><head><script type="text/javascript">function loadXMLDoc(){var xmlhttp;if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, 阅读全文
posted @ 2016-05-03 11:12 爱海滔滔 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 选择器例子例子描述CSS .class .intro 选择 class="intro" 的所有元素。 1 #id #firstname 选择 id="firstname" 的所有元素。 1 * * 选择所有元素。 2 element p 选择所有 <p> 元素。 1 element,element 阅读全文
posted @ 2016-05-03 11:00 爱海滔滔 阅读(185) 评论(0) 推荐(0) 编辑
摘要: :first-letter 用于向文本的首字母设置特殊样式 :before" 可以在元素的内容前面插入新内容 阅读全文
posted @ 2016-05-03 10:45 爱海滔滔 阅读(108) 评论(0) 推荐(0) 编辑
摘要: [attribute] 包含attribute属性 的所有文本 [attribute=value] attribute属性值为value 的所有文本 [attribute~=value] attribute属性值 包含 value [attribute|=value] attribute属性值 头部 阅读全文
posted @ 2016-05-03 10:40 爱海滔滔 阅读(112) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-05-03 08:56 爱海滔滔 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页