且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Ajax调用php脚本

更新时间:2023-10-06 14:13:22

请参考以下链接

http://www.w3schools.com /ajax/ajax_aspphp.asp [ ^ ]



希望这样可以解决你的问题...
Please refer below link
http://www.w3schools.com/ajax/ajax_aspphp.asp[^]

hope so this will solve your problem...


为什么不试试jquery ...



它几乎可以节省您的时间



Why dont you try jquery for this...

It would pretty much save your time


.post( ajax / test.php,function(data){
// data是你作为输出返回的东西
.post( "ajax/test.php", function( data ) { //"data" is some thing what you return as a output