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
Usually a CSS selector selects from top to bottom...
Table of contents 1. forEach() 2. arr.filter() 3....
Vmware Installation Installing Packages Download ...
Table of contents 1. Introduction: In this case, ...
Preface I believe most people have used MySQL and...
Table of contents 1. What is JSON 1.1 Array liter...
This article uses examples to illustrate how to i...
This article shares the specific implementation c...
Table of contents 1. Operation elements 1.1. Chan...
Table of contents # Post-data preparation # SQL q...
This tutorial uses CentOS 7 64-bit. Allocate 2GB ...
The default table name is base_data and the json ...
Table of contents Starting from type judgment Str...
A major feature of the WeChat 8.0 update is the s...
Table of contents 1. Understanding Queues 2. Enca...