jQuery的常用操作摘要

页面加载的方法




$()Ready(函数(){)

})



DIV隐藏操作




隐藏
功能ishidemenu(){
返回$(#菜单内容),(:隐藏)
}
隐藏
mainframeset.hide();

MainFrameset.show();



获取对象


通过ID
$(#菜单内容);
通过类
$(。菜单内容);



属性设置




设置值
$(#菜单内容),瓦迩(价值);
设置/ CSS
$(处理),Css(marginleft
设置属性
$(img)。Attr(宽