JQuery Tutorial | AJAX Load
来源:互联网 发布:大屏幕控制软件 供应商 编辑:程序博客网 时间:2024/04/30 14:26
junk.php
<?phpecho 1;?><div id="test">zxltest</div><div id="other">zxlother</div>
junk1.php
<?phpif(isset($_REQUEST['age'])){echo 'AGE WAS REQUESTED';}?><div id="test">zxltest</div><div id="other">zxlother</div>
text.htm
<html><head><script type="text/javascript" src="jquery.js"></script><script type="text/javascript" > $(document).ready(function () { //带函数的网页load $('#content').load('junk.php', function () { alert(1); });//-------------------------------------------// //无函数的网页load// $('#content').load('junk.php');//-------------------------------------------// //选择load后显示的id (div层)// $('#content').get('junk.php #other');//-------------------------------------------// //get方法// $.get('junk.php', function () {// $('#content').html();// });//------------------------------------------- //get方法参数// $("#text").click(function(){// $.get('junk1.php?age', function (data) {// $('#content').html(data);// });// }); }); </script></head><body><input id="test" type="submit" /><div id="content"></div></body></html>
l
- JQuery Tutorial | AJAX Load
- JQuery Tutorial | AJAX POST
- jquery $.ajax and load()
- jQuery Ajax load()方法
- jquery ajax load
- jQuery-Ajax之load
- jquery ajax load
- jquery-ajax-load
- jQuery - AJAX load() 方法
- JQuery Ajax load
- jQuery-ajax-.load方法
- jQuery - AJAX load() 方法
- jQuery - AJAX load() 方法
- jQuery - AJAX load() 方法
- jQuery - AJAX load() 方法
- JQuery Ajax load()方法
- jQuery - AJAX load() 方法
- jQuery中的Ajax--load()
- CreateProcessWithLogonW问题
- VC调用Flash
- c++中CreateEvent函数解析
- java(20130802)Set:HashSet TreeSet、Map(接口):HashTable Hashmap、比较list set map
- 非常有意思的几个算术、算法题
- JQuery Tutorial | AJAX Load
- linux内核编译时的错误
- SWF文件的混淆
- Android Java Framwork显示Toast(无Activity和Service
- Maven实战_Eclipse构建Maven项目
- ubuntu12.04开启Framebuffer
- 结合领域驱动设计的SOA分布式软件架构
- 理解Git——Branch(分支)
- Understanding imports and PYTHONPATH