<!doctype html> <html> <head> <title>XHR对象</title> <meta charset="utf-8"> </head> <body> </body> </html> <script> //创建xhr对象 var xhr=new XMLHttpRequest; for(var i in xhr){ console.log(i+'---------------------'+xhr[i]); } </script>
posted on 2018-11-06 00:41 马冲的博客 阅读(119) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3