zoukankan
html css js c++ java
【Vegas原创】.net中,WebForm的alert
Response.Write(
"
<script>alert('非主管考核期间,不可以进入,谢谢配合!');location='../main.aspx'</script>
"
);
Response.Write(
"
<script> alert ('对不起,您的权限不足,请联系管理员');window.parent.frames.main.location='../main.aspx';</script>
"
);
当多个Alert出现,或是下句要写Response.Redirect ""语句,此Alert将不相应。
解决方法:alert下一句加return
Response.Write(
"
<script language='javascript'>alert('对不起,该同仁没有上此课!'); location='
"
+
location
+
"
'</script>
"
);
return
;
喜欢请赞赏一下啦^_^
查看全文
相关阅读:
Leetcode 15 3Sum
Leetcode 383 Ransom Note
用i个点组成高度为不超过j的二叉树的数量。
配对问题 小于10 1.3.5
字符矩阵的旋转 镜面对称 1.2.2
字符串统计 连续的某个字符的数量 1.1.4
USACO twofive 没理解
1002 All Roads Lead to Rome
USACO 5.5.1 求矩形并的周长
USACO 5.5.2 字符串的最小表示法
原文地址:https://www.cnblogs.com/amadeuslee/p/3744602.html
最新文章
buuctf-web(一)
四十个亿个整数,快速判断是否存在
图解MySQL 内连接、外连接、左连接、右连接、全连接
MySQL索引的创建、删除和查看
浅谈Mysql共享锁、排他锁、悲观锁、乐观锁及其使用场景
对mysql乐观锁、悲观锁、共享锁、排它锁、行锁、表锁概念的理解
C# 锁
C# 事务 四种事务隔离级别
MySQL触发器trigger的使用
MySQL 存储过程
热门文章
MySQL 事务
Spring 之bean的注入
jQuery
切换图片下一张,jsp页面
java基础入坑集
Leetcode 9 Palindrome Number C#
Leetcode 6 ZigZag Conversion C#
Leetcode 5 Longest Palindromic Substring
Leetcode 159 Longest Substring with At Most Two Distinct Characters
Leetcode 1 Two Sum
Copyright © 2011-2022 走看看