上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 44 下一页
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>10_属性</title> </head> <body> <div id="div1" class="box" title="one">class为box的div1</div> < 阅读全文
posted @ 2021-11-15 22:44 安静点-- 阅读(23) 评论(0) 推荐(0)
摘要: 效果图: 代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>02_多Tab点击切换</title> <style> * { margin: 0; padding: 0; } #tab li { floa 阅读全文
posted @ 2021-11-14 22:45 安静点-- 阅读(212) 评论(0) 推荐(0)
摘要: 具体的方法可以到菜鸟程序员中看 <script type="text/javascript"> //1. $.each(): 遍历数组或对象中的数据 var obj = { name: 'Tom', setName: function (name) { this.name = name } } $. 阅读全文
posted @ 2021-11-14 22:25 安静点-- 阅读(34) 评论(0) 推荐(0)
摘要: 表单选择器 常用的有下面这些,具体的用法可以到:http://www.itprobie.com/jc/jQuery/jquery_html/checkbox.html * :input * :text * :checkbox * :radio * :checked: 选中的 实例: <body> < 阅读全文
posted @ 2021-11-14 21:41 安静点-- 阅读(108) 评论(0) 推荐(0)
摘要: 效果图: 代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>01__表格隔行变色</title> <style> div, span, p { width: 140px; height: 140px; 阅读全文
posted @ 2021-11-14 21:04 安静点-- 阅读(70) 评论(0) 推荐(0)
摘要: 过滤选择器 在原有选择器匹配的元素中进一步进行过滤的选择器 下面根据实例来学习: <body> <div id="div1" class="box">class为box的div1</div> <div id="div2" class="box">class为box的div2</div> <div i 阅读全文
posted @ 2021-11-14 20:50 安静点-- 阅读(165) 评论(0) 推荐(0)
摘要: 层次选择器 查找子元素, 后代元素, 兄弟元素的选择器 用法 1. ancestor descendant 在给定的祖先元素下匹配所有的后代元素, 是在这个标签包裹下的所有符合条件的元素 2. parent>child 在给定的父元素下匹配所有的子元素,注意子元素的意思是直属子元素,再往后一代的就不 阅读全文
posted @ 2021-11-14 19:30 安静点-- 阅读(95) 评论(0) 推荐(0)
摘要: 选择器是什么? * 有特定语法规则(css选择器)的字符串 * 用来查找某个/些DOM元素: $(selector) 基本选择器 1. 是什么? - 有特定格式的字符串 2. 作用 - 用来查找特定页面元素 3. 基本选择器 * #id * tagName/* * .class * selector 阅读全文
posted @ 2021-11-14 16:08 安静点-- 阅读(57) 评论(0) 推荐(0)
摘要: 1 jQuery对象是一个包含所有匹配的任意多个DOM元素的伪数组对象。 2 基本行为 size()/length:包含的DOM元素的个数 [index]/get(index):得到对应位置的元素 each():遍历包含的所有DOM元素 index():得到所在兄弟元素中的下标 通过下面的例子来展示 阅读全文
posted @ 2021-11-14 00:04 安静点-- 阅读(166) 评论(0) 推荐(0)
摘要: 在调用接口的时候可以通过流的形式来接收,将其转换成需要的数据模型,这样的话就算调用方更改了模型也能接收到,接收到之后判断数据是不是正确 byte[] formBbuffer = new byte[HttpContext.Current.Request.InputStream.Length]; Htt 阅读全文
posted @ 2021-11-13 18:26 安静点-- 阅读(156) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 44 下一页