I met a location in IE6 today. href bug. in IE6, write href as javascript:; javascript: void (0); In tag a, and bind the onclick event to the tag, click and execute location. href implements page Jump, for example, the following code:
click to jump
The following code executes the SUBGO () function, Point me Here, javascript:void (0), does not have a substantial effect, it is just a dead link, the function that executes is subgo (). Point me with Point me Difference.In fact #包含了一个位置信息默认的锚是
The following code executes the SUBGO () function, Point me Here, javascript:void (0), does not have a substantial effect, it is just a dead link, the function that executes is subgo (). Point me with Point me Difference.In fact #包含了一个位置信息默认的锚是
As we all know, the most important function of a label is to implement hyperlinks and anchor points. Also, most people think that the most important role of a tag is to implement hyperlinks, and today I happen to be writing a label , so let's sort
Fix a bug in the story. For IE6, clicking the gif pause bug only occurs when the javascript: pseudo-protocol does not have a semicolon.
Let me give you a perspective.Adding an href attribute to a tag means the following:
: The
Cliché: IE6, a tag href set javascript:void (0), after the binding of the Click event, if there is a form form submission or jump, and other events, will expire! Example: Back $ ("#id_back"). Click (function () {$ ("#id_frm"). Submit ();}); Why is
First, the value of the href attribute of the tag is summarized first:1. The URL used to specify the hyperlink destination.For example href= "index.html", that is, click the a tag to jump to the index page.It can also be the URL of a PHP file, such
When developing Web pages, we often encounter the following situations:1. A label is only to trigger the onclick behavior;2. Display the pointer pointer of the mouse, or other visual effects like a-tag.For example, when performing a delete operation,
Example: My pages javascript: is a pseudo protocoljavascript: Is the execution of a piece of JavaScript code when triggering default action, while javascript:; Indicates that nothing is done, so there is no response when you click
Src
IMG Pictures
Rame IFRAME Framework Set
input type is the submit button for image
Scirpt Script
The Style style sheet (SRC attribute is extended to all elements in XHTML2 in the womb). For example, you can: )
Href
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.