IE6/7/8 does not support the creation of non-closed format links A and ie6jquery.

Source: Internet
Author: User

IE6/7/8 does not support the creation of non-closed format links A and ie6jquery.

The Code is as follows:

<!DOCTYPE html>

Use $ ('<a href = "javascript;">') to create a jQuery object and add it to the div, firefox/Chrome/Safari/Opera/IE9 + can see the added link. Only IE6, won't work.

 

I thought it was a bug of version 1.6.4 (I firmly believe that this writing method is correct). I was surprised when I changed it to version 1.7.0, 1.7.2, 1.8.0, 1.8.3, 1.9.1, and 1.11.1.

 

You can just close.

var $a = $('<a href="javascript:;"></a>').text('sina')

 

Or

var $a = $('<a>')$a.attr('href', 'javascript:;')$a.text('sina')

No problem.

 

See the document for the following explanations:

 

After reading it, I know that the non-jQuery bug is self-used improperly. The closed tag must be closed. The non-closed single tag (input, img) can not be closed. I always thought that the omnipotent jQuery () constructor can be compatible with all kinds of inferior writing methods. Please note that!


Some jquery code IE6 does not support this one. Could you help me?

Not that jquery does not support ie6.

But yours.
JQuery ('# test'). simple_slider ({
'Leftid': 'leftnav ',
'Rightid': 'rightnav ',
'Display': 7
})
This Code
I used a self-written jquery plug-in.
Maybe the plug-in does not support ie6.
It has nothing to do with jquery.
Jquery plug-ins are like this. Because it is easy to write plug-ins, almost everyone can write jquery plug-ins.
Then the plug-ins written with good technology are good. The technology is poor, the plug-ins written are poor, and the compatibility is not certain.
Poor plug-in quality

This is probably the case.

Why do I force disable the focus chart under IE6 and cannot open the webpage? I wrote it using jquery. It works normally in IE7, IE8, and FF.

Possible compatibility issues or try this focus chart
Switch with 12345 numbers
Switch with a thumbnail
The tutorials and source code are provided.


Reference: www.blueidea.com/..20.11341


Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.