方法1:
document.getElementById('iframeId').contentWindow.location.reload(true);
方法2:
document.getElementById('iframeId').src=url;
方法3:
$("#iframeId").attr('src', url);
總結:網上一大堆document.frames('ifrmname').location.reload()已經不能用了!
