+ -
当前位置:首页 → 问答吧 → 新手,救命贴

新手,救命贴

时间:2009-07-09

来源:互联网

我用户Jquery无刷新添加了数据,但是不知道用什么方法无刷新显示出来呢?大家有什么好办法吗?

打开页面

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="Click Here To EnLarge">
正在添加

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="Click Here To EnLarge">
添加成功

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="Click Here To EnLarge">
手动刷新之后

'700')this.width='700';if(this.offsetHeight>'700')this.height='700';" title="Click Here To EnLarge">    

作者: 9308172   发布时间: 2009-07-09

下面是ajax的话,是不是刷新早了,用JS控制提交后1秒再读数据库试试

作者: leklueze   发布时间: 2009-07-09

ajax成功之后
setTimeout("function(){location.reload();}",1000)
试试有用不

作者: jamix   发布时间: 2009-07-09

可以保存成功后在表最后插入一行,不过有翻页可能会存在问题

作者: !-_-!   发布时间: 2009-07-09

相关阅读 更多