本課主題
jQuery 介绍
选择器
- $(‘li‘)
- $(‘div p‘)
- $(‘#id‘)
- $(‘.class‘)
事件
- .click
- .on
- .hover(<move the cursor>,<move the cursor away>)
- .scroll
- .change
- .html( )
- .remove( ) - completely remove the physical elements in the index.html page
- .empty( )
Callback function
callback function define what would be happend after a particular event has been triggered.
- forEach( )
- setinterval( )
- clearinterval( )
Traversing method
- .find( )
- .prev( )
- .next( )
- .sibilings( )
- .children( )
- .closest( )
- .map( )
this 是什么
參考資料
银角大王:
金角大王:
其他:jQuery 中文文档
第十六章:Python の Web开发基础(三) jQuery与Ajax
原文:http://www.cnblogs.com/jcchoiling/p/6159285.html