摘要: 1 查找元素节点 var $x = $("selector").text() 2 查找属性节点 var $x = $("selector").attr("property") 3 创建节点 var $x = $("html") 4 插入节点 $("selector").append() // 向每个 阅读全文
posted @ 2010-03-19 18:11 Reibin 阅读(726) 评论(0) 推荐(1) 编辑
摘要: 1 基本选择器 $(#id) // 根据给定的id匹配一个元素 $(.class) // 根据给定的类名匹配元素 $(element) // 根据给定的元素名匹配元素 $(*) // 匹配所有元素 $(selector1,selector2,...,selectorN) // 将每一个选择器匹配到的 阅读全文
posted @ 2010-03-19 16:24 Reibin 阅读(1007) 评论(4) 推荐(1) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><input value="请输入用户名" type="text"><input value="请输入密 阅读全文
posted @ 2010-03-19 11:29 Reibin 阅读(3685) 评论(0) 推荐(0) 编辑

日志版权保留,转载请注明来自http://www.cnblogs.com/bienfantaisie