2 个解决方案
#1
+
#2
例:
<script>
var name="aa";
location.href="default.asp?name="+name;
</script>
<script>
var name="aa";
location.href="default.asp?name="+name;
</script>
#1
+
#2
例:
<script>
var name="aa";
location.href="default.asp?name="+name;
</script>
<script>
var name="aa";
location.href="default.asp?name="+name;
</script>