Copy code The code is as follows:<iframe id="myFrameId" name="myFrameName" scrolling="no" frameborder="0" style="width:200px; height:150px; "></iframe> <a href="../ashx/Print2DCodeImage.ashx?codeInfo=Demo123" target="myFrameName" >Print QR code</a> The target of the a tag above points to the iframe named myFrameName. It is not appropriate to use Id as the target. If target="myFrameId", it is only supported by the new version of Chrome and Opera, and it does not work in IE10 and FF. A small detail that took a lot of time. |
<<: Why do code standards require SQL statements not to have too many joins?
>>: Basic principles for compiling a website homepage
I have never used apache. After I started working...
This article uses examples to describe MySQL tran...
ssh is one of the two command line tools I use mo...
1. Import the module and define a validation stat...
1. What is scaffolding? 1. Vue CLI Vue CLI is a c...
Table of contents Preface Lua Script nignx.conf c...
Table of contents 1. Rendering 2. Bind data and a...
The Core Asset Management Project requires el-tra...
Table of contents 1. Vue life cycle 2. Hook funct...
Mixins provide a very flexible way to distribute ...
Overview The project was created successfully and...
First look at the effect: Code: 1.html <div cl...
Basic syntax: <input type="hidden" na...
MySQL previously had a query cache, Query Cache. ...
First of all, we need to make it clear why we use...