宁波绿茶餐厅:格式怎么写

来源:百度文库 编辑:中科新闻网 时间:2024/04/26 19:37:24
Response.write "<script> alert('Password length can't less than 4'); document.location.href='../password.asp';</script>"
格式怎么写啊.关键是在'Password length can't less than 4' 这can't
谢了

Response.write("<script> alert(""Password length can't less than 4""); document.location.href=""../password.asp"";</script>")

注意write输出语句中,凡是需要输出"的地方,要用两个""来代替。
例如:
response.write("1""2""3")
的输出结果是1"2"3

can't 是非 !