如何避免Net页面刷新后重新加载按钮事件?
- 内容介绍
- 文章标签
- 相关推荐
本文共计93个文字,预计阅读时间需要1分钟。
在无需刷新的按钮事件下写入以下一句:javascriptResponse.Write(scriptdocument.location=document.location/script); // 防止页面刷新重写加载按钮事件
在不需要刷新的按钮事件下写上以下一句:
Response.Write("<script>document.location=document.location</script>");//防止页面刷新重写加载按钮事件
本文共计93个文字,预计阅读时间需要1分钟。
在无需刷新的按钮事件下写入以下一句:javascriptResponse.Write(scriptdocument.location=document.location/script); // 防止页面刷新重写加载按钮事件
在不需要刷新的按钮事件下写上以下一句:
Response.Write("<script>document.location=document.location</script>");//防止页面刷新重写加载按钮事件

