- 核心
- Jquery 核心函数
 
- 查找:
- $("div>p")
 
-   $("input:radio",document.forms[0]), 在问的那个的第一个表单查找 type=radio 的表单元素
 
-   $("div",xml.ResponseXML), 在返回的Xml 文档中查找 所有的Div 元素
 
 
- 创建html:
-  $("<div>Helloe </div>").append("body")
 
-  $("<input>").attr("type","checkebox");
 
 
- 创建html 并且赋属性,事件
-  $("<div>",{" class":"test", text:"Click Me",click:function(){ $(this).toggleclass("test")}}).appendTo("body")
 
 
- $(document.body).css("backgroundclor","red")
 
- 可见性:$().hide()
 
- $(document).ready(function(){})
 
- jQuery 对象访问
 
- $("img").each(function(i){ this.src="test"+i+".jpg"})
 
- $("img").size(),
 
- i
 
-  
 
 
- 选择器
 
- 属性
 
- 筛选
 
- 文档处理
 
- Css
 
- 事件
 
- 效果
 
- Ajax
 
 
	posted on 
2018-10-28 20:55 
Tivoli 
阅读(
104) 
评论() 
 
收藏 
举报