Joke Collection Website - Public benefit messages - With C#, how to send information to the browser to make it go forward or backward, refresh and other operations are urgent?
With C#, how to send information to the browser to make it go forward or backward, refresh and other operations are urgent?
C# can't directly control the browser's forward or backward, which is realized by javascript. You can use c# to output javascript to the foreground page for control, and you can communicate with hi if you have any questions.
& ltinput type = button value = forward onclick = history . go( 1)>
& ltinput type = button value = forward onclick = history . forward()>
& lt input type = button value = backward onclick = history.go (- 1) >
& ltinput type = button value = backward onclick = history . back()& gt;
Http protocol is stateless. When an event happens to the client, let it send a request to the server, and then the server sends the js code to the client for execution.
I think the landlord definitely wants to solve some other problems, not the problem of js controlling the browser. If you have any other questions, you can communicate with me.
- Previous article:What benefits can I get for my birthday?
- Next article:The screen icon appears as soon as the Android phone Baidu network disk logs in.
- Related articles
- What does reincarnation mean?
- Where can Xiamen get a big hepatitis B vaccine?
- Does iMessage on iPhone need money to send text messages?
- Often harassed by phone messages, she also knocked on us in the middle of the night. I live alone as a little girl. What should I do?
- Why keep telling me that the verification code is wrong? JD.COM, your sister, come out.
- How to exchange phone charges for mobile phone number points?
- Did you notify me of the court notice by SMS?
- What's the difference between doing content and advertising on WeChat, Weibo, Taobao, Tik Tok and Xiaohongshu?
- SMS notification of claims maintenance service
- Will I be quarantined when I go to Mianyang now?