| |

VerySource

 Forgot password?
 Register
Search
Author: 天风鲁伊

How can I open it in another new page without refreshing the original page? The requirement is to write in a .cs file

[Copy link]

0

Threads

15

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-4-11 16:00:02
| Show all posts
= "<script language = 'javascript'> alert ('" + messagetext + "'); location.href = 'index.aspx'; </ script>
To
script language = javascript> window.open ('zw.aspx? name = "+ searchTxt.Text +"&date = "+ this.fbdate.Value +"&xz = "+ gz +"'); </ script>
Reply

Use magic Report

0

Threads

12

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 Invalid IP Address

Post time: 2020-4-11 17:45:01
| Show all posts
Why do you need any cs, js
Can't you use JS for judgment?
Ha ha, it is recommended to use javascript!
Reply

Use magic Report

0

Threads

9

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-4-16 20:15:01
| Show all posts
若水淡淡() Reputation: 99

This is strong, xmlhttp is used
But ask, how do I control the value of repsonsetext in the background code?
After response.write is written in the header, the entire HTML code + response value is returned
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list