| |

VerySource

 Forgot password?
 Register
Search
View: 707|Reply: 5

Click on hyperlink how to refresh the next frame

[Copy link]

1

Threads

21

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 Great Britain

Post time: 2020-3-18 11:00:01
| Show all posts |Read mode
One file (Index.aspx) includes two frames, which are connected to two aspx files (f1.aspx) (f2.aspx)
There is a hyperlink (name hy1) in f1.aspx. Now I want to click on this hyper1, frame2 will refresh and display its name hy1

Thank you
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 Invalid IP Address

Post time: 2020-6-22 20:15:01
| Show all posts
RegisterStartupScript("key", "<script>window.parent.f2.location.replace(f2.aspx?name=f1');</script>");

Pass the name of f1 as a parameter to f2.apsx, and process it in f2
f2 in window.parent.f2.location.replace is the name of the frame where f2.aspx is located
Reply

Use magic Report

1

Threads

21

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 Great Britain

 Author| Post time: 2020-6-25 18:30:02
| Show all posts
I don't understand, I'm sorry
Reply

Use magic Report

0

Threads

10

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-6-26 10:15:01
| Show all posts
Can use javascript haha
!
Reply

Use magic Report

0

Threads

8

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-7-1 13:00:01
| Show all posts
You can put a Label next door and click the hyperlink to make the Text of this label=<iframe src=a.htm>
Reply

Use magic Report

0

Threads

6

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-7-1 18:30:01
| Show all posts
This is best achieved with js. Look for examples of forms.
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