var navCheckClick = function (id, name) {
var Ie8 = Math.round(Math.random()*99);
alert(Ie8);
if(name) $('#content').html('<iframe id="myiframe" src="/'+name+'?rload='+Ie8+'"></iframe>');
if(oldCheckId!=null) $('#nav-' + oldCheckId).removeClass("selected");
$('#nav-' + id).addClass("selected");
oldCheckId = id;
}
不管怎么触发事件iframe的src都是一开始进来的