请ajax帮忙 [英] ajax help please

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

问题描述

以下代码在我的网站上没有输出。它应该在索引页面上显示用户veiws。任何人都可以发现它有什么问题吗?

http://herproom.5.forumer.com/index.php?

展开 | 选择 | 换行 | 行号

解决方案

你有任何错误吗?


对于send方法,使用send(null)而不是空字符串。

我将send更改为send(null)但仍然没有输出。我认为我的变量是错误的,而不是''veiws''我的网站''{ibf.lang.h_hits}''

不确定如何在不破坏代码的情况下重写它?

展开 | 选择 | Wrap | 行号


所以你有任何错误吗?检查JavaScript控制台。


The following code is giving no output on my site. its supposed to show user veiws on the index page. can anyone find anything wrong with it?

http://herproom.5.forumer.com/index.php?

Expand|Select|Wrap|Line Numbers

解决方案

Do you have any errors?

For the send method, use send(null) instead of an empty string.


I changed the send to send(null) but still no output. I think my variables are wrong, instead of ''veiws'' my site has ''{ibf.lang.h_hits}''
not sure how to rewrite it without ruining the code?

Expand|Select|Wrap|Line Numbers


So do you get any errors? Check the JavaScript console.


这篇关于请ajax帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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