问题描述
我是这个项目的新手,我在谷歌搜索了一些代码,但我知道在哪里我可以在我的整个项目的特定页面中编写代码可以请求帮助我任何一个
我尝试过:
var request = new XMLHttpRequest();
request.setRequestHeader(X-Requested-With,XMLHttpRequest);
request.open(GET,path,true);
request.send(空值);但我知道在哪里我可以编写代码,我怎么能修改它????
i am new in this project i searched in google getting some code but i dnt know where i can write the code in praticular page outof my entire project can u plese help me any one
What I have tried:
var request = new XMLHttpRequest();
request.setRequestHeader("X-Requested-With", "XMLHttpRequest");
request.open("GET", path, true);
request.send(null); but i dnt where i can write the code and how can i modified that????
推荐答案
这篇关于通过http标头读取所有查询字符串参数,而不是通过javascript中的应用程序中的查询字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!