有些不明白啊
<script type="text/javascript">
? ? ? ? //不同函數(shù)傳遞數(shù)據(jù)
? ? ? ? function data(e) {
? ? ? ? ? ? alert(e.data) //1111
? ? ? ? }? ?
? ? ? ? function a() {
? ? ? ? ? ? $("button:eq(2)").click(1111, data)
? ? ? ? }
? ? ? ? a();這個代碼我把function data(e){
alert(e.data);}去掉結(jié)果好像是一樣的
? ? </script>
2018-04-07
行個鬼 你再試一遍試試