首页 > 编程语言 > 详细

第十六章:Python の Web开发基础(三) jQuery与Ajax

时间:2017-01-01 12:32:26      阅读:188      评论:0      收藏:0      [点我收藏+]

本課主題

  • jQuery 介绍
  • Ajax 介绍

 

jQuery 介绍

选择器

  1. $(‘li‘)
  2. $(‘div p‘)
  3. $(‘#id‘)
  4. $(‘.class‘)

事件

  1. .click
  2. .on
  3. .hover(<move the cursor>,<move the cursor away>)
  4. .scroll
  5. .change
  6. .html( )
  7. .remove( ) - completely remove the physical elements in the index.html page
  8. .empty( )

Callback function

callback function define what would be happend after a particular event has been triggered.

  1. forEach( )
  2. setinterval( )
  3. clearinterval( )

Traversing method

  1. .find( )
  2. .prev( )
  3. .next( )
  4. .sibilings( )
  5. .children( )
  6. .closest( )
  7. .map( )

this 是什么

 

 

 

 

 

 

 

 

參考資料 

银角大王:

金角大王:

其他:jQuery 中文文档

第十六章:Python の Web开发基础(三) jQuery与Ajax

原文:http://www.cnblogs.com/jcchoiling/p/6159285.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!