摘要:
1、概述JS Api里对回调函数是这样解释的:A callback is a function that is passed as an argument to another function and is executed after its parent function has completed.因此,可以理解为:函数a有一个参数,这个参数是函数b,当函数a执行完以后再执行函数b,那么这个过程就叫回调。例如:$.get("test.php", function(data){ alert("Data Loaded: " + data); });表 阅读全文
posted @ 2013-05-05 22:08
知海拾贝
阅读(141)
评论(0)
推荐(0)

浙公网安备 33010602011771号