[关闭]
@c-Ku 2017-04-27T04:12:01.000000Z 字数 398 阅读 587

cPlugs

JavaScript jQuery


Git: https://github.com/c-Ku/cPlugs

ReadMe: https://www.zybuluo.com/c-Ku/note/736546

cAjax (v1.0.1)

Add the following code to your page when using cAjax.

  1. cAjax({
  2. method: 'get', // get || post
  3. link: 'test.php',
  4. data: {
  5. test1: 'test1',
  6. test2: 'test2'
  7. },
  8. success: function (data) {
  9. console.log('success: ' + data);
  10. },
  11. error: function (data) {
  12. console.log('error: ' + data);
  13. }
  14. });

cUp (v1.0.1)

Simply using cUp like this.

  1. $('#file').cUp()
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注