How to refresh iframe 1. To refresh, you can use javascript's document.fr.location.reload() 2. You can also modify document.fr.location.href to achieve the refresh function For example: Copy code The code is as follows:<iframe name="fr" width="96%" src="alert_search.do?method=findSys"></iframe> <script type="text/javascript"> function show_syslog(id){ document.fr.location.href="/alert_search.do?method=findSys&id="+id; } </script> <input type="button" onclick="javascript:show_syslog(1)"> Note: Do not use both methods at the same time. If you use them at the same time, they will be submitted twice. Copy code The code is as follows:document.fr.location.href = "your.html"; document.fr.location.reload(); |
<<: Detailed explanation on how to modify the default port of nginx
>>: Example code of how to implement pivot table in MySQL/MariaDB
This article example shares the specific code of ...
We can view the installation path of mysql throug...
Table of contents MySQL case sensitivity is contr...
This article shares with you a js special effect ...
<meta http-equiv="x-ua-compatible" co...
1. Preparation before installation 1. Download th...
After installing Redis on Linux, use Java to conn...
Table of contents Install Dependencies Install bo...
As shown above, the navigation is fixed at the to...
Understand this Perhaps you have seen this in oth...
Rich text editors are often used when doing backg...
Because I have always used vscode to develop fron...
In Linux, there are two types of file connections...
<br />User experience is increasingly valued...
1. What is an index? An index is a data structure...