<%--嵌入--%> <script type="text/javascript"> document.write('<iframe src="Reg.aspx" frameborder="0" width="230" height="220" scrolling="no" allowtransparency="true"></iframe>'); </script> <%--跳出--%> <script type="text/javascript"> alert('验证码错误'); if (top.location !== self.location) { top.location = 'Default.aspx'; } </script>