当前位置:
代码迷
>>
JavaScript
>> Javascript怎么发送一个Ajax请求
详细解决方案
Javascript怎么发送一个Ajax请求
热度:
124
发布时间:
2012-10-16 09:57:37.0
Javascript如何发送一个Ajax请求?
代码:
new Ajax.Request('/your_url'),
{
method : ‘get',
onSuccess : function(transport){
var response = transport.responseText || “no response text”;
alert(”Success!”);
} ,
onFailure : function(){ alert('failure')}
});
查看全文
相关解决方案
javascript ie6兼容的有关问题
(Struts2+JSON+Ajax) XMLHttpRequest ==500如何解决
。各位大神,小弟有个简单的有关问题,就是小弟我用struts+ajax+juery+json时为何总是不进入action啊 配置文件如上
javascript window open在ie中设立不起作用,求解决
ajax 多值 jsp 急
ajax responsetext 替空值,想不通。
springmvc jquery ajax 提交复杂对象,415异常解决办法
javascript 字符串拼接效率有关问题
JavaScript 自动生成图片并合并有关问题
jquery ajax select解决方法
不走"<script type='text/javascript'>"标签咋回事
Ajax 更新商品列表下一页,页面不在脑袋开始
CAPTCHA 模块中 ajax form 导致CAPTCHA session reuse attack detected异常,解决方法
ajax Post 一直返回的是error ,为啥
struts2 ajax 上拉框联动有关问题
AJAX 学习过程中的有关问题
servlet+jquery1.4.2(ajax error?)解决方案
<script type="javascript/text">的有关问题
jQuery.ajax()请求struts2数据 回到data值了undefined
用servlet+jsp+javascript+jdbc做个简单的办公自动化系统流程,该如何解决
扭结,AJAX WEB UI库选型
求大神解决偏题 - jquery ajax
AJAX 传递数据如何样才可以是 json
ajax 调用很慢解决办法
ajax 拓扑图 实现,该如何解决
怎么打开 javascript:SetData(2010,5,10)
struts2+jquery+ajax 回调函数没反应啊请们帮忙看看啊 跪谢
ajax 怎么实现文件下载
javaScript = == ===区别,该怎么解决
javascript 怎么验证name=xx.xx的radio表单