文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>jquery加载页面的方法

jquery加载页面的方法

时间:2011-06-14  来源:香飘飘2011

1、$(function(){   

  $("#a").click(function(){

    //adding your code here

  });

});

2、$(document).ready(function(){

  $("#a").click(function(){

    //adding your code here  

  });

});

3、window.onload = function(){

  $("#a").click(function(){

    //adding your code here

  });

}

html代码为<input type="button" id="a">点击</input>

相关阅读 更多 +
排行榜 更多 +
耶小兔子2

耶小兔子2

休闲益智 下载
nba2k20豪华版

nba2k20豪华版

体育竞技 下载
画线征服火柴人安卓版

画线征服火柴人安卓版

动作格斗 下载