如何使用jquery从Web服务器中删除现有表? [英] How to remove existing table from web server using jquery?

查看:63
本文介绍了如何使用jquery从Web服务器中删除现有表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,



如何删除从Web服务器发送的现有表?基本上我有一个表填充了来自Web服务器的数据?我尝试了append(),但发生的事情是刚刚在原始表下显示的新表。所以我正在寻找一种删除原始表的方法,只有新表才会显示。



谢谢,

Hey guys,

How can I remove existing table that was sent from a web server?. Basically I have a table filled with data that comes from a web server? I tried the append() but what happened is the new table did just displayed under the original table. So I'm looking for a way to delete the original table so only the new table will show.

Thanks,

推荐答案

嘿伙计们我现在知道了,



Hey guys I got it now,


(< span class =code-string>' .actualResults')。remove();
('.actualResults').remove();


.each (smg, function (i,item){
.each(smg, function(i, item) {


这篇关于如何使用jquery从Web服务器中删除现有表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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