是否有可能做到这一点? [英] Is it possible to do this?
问题描述
是否可以仅更新网页的某些部分(没有
上传/刷新整个页面)?
我有一张桌子显示在一个网页上,我希望能够逐个更新表格中的数据。也就是说,我可以像这样使用
a函数:
函数updateCell(tablename,column_number,row_number){
/ *这里有什么? * /
}
我怀疑DOM(我几乎一无所知)来到
在这里玩。
我期待任何有用的反馈。
谢谢
Is it possible to update only certain portions of a web page (without
uploading/refreshing the entire page)?.
I have a table displayed in a web page, and I would like to be able to
update the data in the table, cell by cell. That is to say, I could have
a function like so:
function updateCell(tablename, column_number, row_number) {
/* what goes here ? */
}
I suspect that the DOM (which I know next to nothing about), comes to
play here.
I look forward to any useful feedback.
Thanks
推荐答案
你可以在AJAX的帮助下做到这一点。 Ajax帮助您从服务器获取数据
。然后在javascript的帮助下你可以更新那个
表。
ya u can do that with the help of AJAX. Ajax helps u to get the data
from the server. Then with the help of javascript u can update that
table.
Deepak写道:
Deepak wrote:
你可以在AJAX的帮助下做到这一点。 Ajax帮助您从服务器获取数据。然后在javascript的帮助下你可以更新那个
表。
ya u can do that with the help of AJAX. Ajax helps u to get the data
from the server. Then with the help of javascript u can update that
table.
谢谢Deepak - 关于AJAX的任何好教程。谷歌搜索似乎只需要bn b $ b,而只会出现Hello World。类型示例。
Thanks Deepak - anygood tutorials on AJAX. Google searches seem to
bringing up only "Hello World" type examples.
Bart Simpson写道:
Bart Simpson wrote:
Deepak写道:
Deepak wrote:
ya你可以在AJAX的帮助下做到这一点。 Ajax帮助您从服务器获取数据。然后在javascript的帮助下你可以更新那个
表。
ya u can do that with the help of AJAX. Ajax helps u to get the data
from the server. Then with the help of javascript u can update that
table.
谢谢Deepak - 关于AJAX的任何好教程。谷歌搜索似乎只提出了Hello World。类型示例。
Thanks Deepak - anygood tutorials on AJAX. Google searches seem to
bringing up only "Hello World" type examples.
搜索此群组的档案而不是整个网络:
< URL:http:// groups。 google.co.uk/group/comp.lang.javascript/search?q=ajax+xmlhttprequest&start=0&scoring=d&>
入门:
< URL:http://www.jibbering.com/2002/4/httprequest.html>
一个AJAX请求库(还有其他):
< URL:http://www.ajaxtoolbox.com/>
-
Rob
Search this group''s archives rather than the entire web:
<URL:http://groups.google.co.uk/group/comp.lang.javascript/search?q=ajax+xmlhttprequest&start=0&scoring=d&>
Getting started:
<URL:http://www.jibbering.com/2002/4/httprequest.html>
An AJAX request library (there are others):
<URL:http://www.ajaxtoolbox.com/>
--
Rob
这篇关于是否有可能做到这一点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!