将数据加载到html表中,而不用重新加载整个表
答
// set the background of all td tags
$('td').css('backgroundImage', 'url('+url+')');
// set the content of a particular tag
$('td#someID').html(yourHtml);
// set the background and content of a specific tag
$('td#someID').html(yourHtml).css('backgroundImage', 'url('+url+')');
所有这一切都在细节在jQuery的网站记载:http://docs.jquery.com/
+0
谢谢,我显然不够努力。 – Stanni 2009-10-23 20:06:49
这是可能的。你有什么问题? – Zote 2009-10-23 19:45:11