javascript弹出对话框显示ASP代码

response.Write"<script>alert('恭喜您注册成功,你的用户名为'"&username&"',密码为'"

&password&"');location.href('index.asp')</script>"