Ajax过滤器问题 [英] Ajax Filter issue

查看:128
本文介绍了Ajax过滤器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力完成一个人在写作过程中离开的系统,我没有这种语言的经验。我们在表单上有一个过滤器无效。我已经开始调试过滤器了,它说的是问题是Ajax
代码(我必须允许选项"Show not my code"打开)才能看到它。有人可以告诉我这段代码是否有问题。 

 $ .ajax({
type:" Post",
url:'/ PatientManager / Filter',
data:theData,
success:getListSuccess,
error:getListFail
});


谢谢

解决方案

什么问题你有这个片段吗?你是说没有调用相应的服务函数(可以用一些断点检查),或者不执行
getListSuccess getListFail (可以通过添加一些
警报('测试')调用。)


还尝试用"POST"替换"Post"。


顺便说一句,有论坛( http://forums.asp.net/ )处理这些主题


Hi, I am trying to finish a system that someone left in the middle of writing and I have no experience in this language. We have a Filter on a form which is not working. I have started to debug the filter and it is saying that the issue is with the Ajax code (I had to allow the option "Show not my code" to turn on) to see it. can someone tell me if there is something wrong with this code. 

                $.ajax({
                    type: "Post",
                    url: '/PatientManager/Filter',
                    data: theData,
                    success: getListSuccess,
                    error: getListFail
                });

Thanks

解决方案

What issues do you have with this fragment? Do you mean that the corresponding service function is not called (can be checked with some breakpoints), or getListSuccess and getListFail are not executed (can be checked by adding some alert(‘Test’) calls).

Also try replacing "Post" with "POST".

By the way, there are forums (http://forums.asp.net/) that deal with these topics.


这篇关于Ajax过滤器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆