測(cè)試三date(e)函數(shù)是什么執(zhí)行的
? ? <h4>測(cè)試三</h4>
? ? <div class="right">
? ? ? ? <div class="aaron3">
? ? ? ? ? ? <p>鼠標(biāo)移動(dòng):不同函數(shù)傳遞數(shù)據(jù)</p>
? ? ? ? ? ? <p>數(shù)據(jù):</p>
? ? ? ? </div>
? ? </div>
? ? <script type="text/javascript">
? ? //不同函數(shù)傳遞數(shù)據(jù)
? ? function data(e) {
? ? ? ? $(this).find('p:last').html('數(shù)據(jù):' + e.data)
? ? }
? ? function a() {
? ? ? ? $(".right").mousemove(1111, data)
? ? }
? ? a();
如題,只是執(zhí)行了a(),為什么date(e)會(huì)執(zhí)行
2018-12-04
知道了,原來的是回調(diào)函數(shù)