1
我有一个图像列表,我可以订购。 我用这个代码订购图片:重新加载div没有外部文件
$(document).ready(function(){
$(function()
{
$("#subafbeelding ul").sortable(
{
opacity: 0.6,
cursor: 'move',
update: function(){
var order = $(this).sortable("serialize") + '&action=updateRecordsListings';
$(".hoofdafbeelding").load("foo.php");
$.post("updatevolgoorde.php", order, function(theResponse)
{
$("#contentRight").html(theResponse);
});
}
});
});
});
后
$("#contentRight").html(theResponse);
我要重新加载DIV headimg。 我该如何做到这一点?
祝您有愉快的一天。
[克隆](http://api.jquery.com/clone/)元素。 [隐藏](http://api.jquery.com/hide/)克隆。想要重新加载时使用克隆作为模板 – musefan 2013-03-11 13:42:12
我不知道如何做任何@mustefan – 2013-03-11 14:06:58