jQuery常用技巧
摘要:Attribute:$(”p”).addClass(css中定义的样式类型); 给某个元素添加样式$(”img”).attr({src:”test.jpg”,alt:”test Image”}); 给某个元素添加属性/值,参数是map$(”img”).attr(”sr...
阅读全文
posted @ 2009-11-21 12:12
posted @ 2009-11-21 12:12
posted @ 2009-11-21 10:42
posted @ 2009-11-21 10:31
posted @ 2009-11-21 10:29