同样一段代码,两次调用,一次通过,一次异常: function clearSelect(obj){ if(obj && obj.options) obj.options.length=0; } 以下是前人的一些经验: 这是两个经典异常,不知道原理的话很难定位。从下面的代码中可用看到发生的条件 <iframe src=”[removed]'[removed]top.ff1={abc:function(){}}<\/script>'” width=0 height=0 name=”f1″></iframe> <button onclick=”f1.location=’about:blank’;s