onbeforeunload="location=location"

来源:学生作业帮助网 编辑:六六作业网 时间:2024/07/10 07:37:06
onbeforeunload="location=location"onbeforeunload="location=location"onbeforeunload="location=locatio

onbeforeunload="location=location"
onbeforeunload="location=location"

onbeforeunload="location=location"
onbeforeunload="location=location"
onbeforeunload 能引起当前页面发生跳转的任何动作,都会触发这个事件,并且它先于unload事件被触发.
第一个location 就是跳转的意思 =后面加路径
第二个location 应该是传递的参数