What browser incompatibilities do jquery allow?

I am currently on a fence about using or not using jquery. I spent several hours exploring the pros and cons of using jquery (or any library, for that matter).

One of the big selling points of jquery is that it frees the developer from worrying about browser incompatibilities. I tried to find any documentation about exactly which incompatibilities it overcomes. I have not found them yet. Can anyone help me with this.

+3
source share
5 answers

You should check out www.quirksmode.org .

This is a great browser compatibility resource.

+2
source

, , .

// check if target is a textnode (safari)
if ( event.target.nodeType === 3 ) {
    event.target = event.target.parentNode;
}

// safari subtracts parent border width here which is 5px
this.supportsFixedPosition = (checkDiv.offsetTop === 20 || checkDiv.offsetTop === 15);
+1

, jQuery DOM , document.getElementsByClassName ( IE 8 ). , myClass : $('.myClass').

jQuery XMLHttpRequest, (. ).

, jQuery , DOM, , , , , Firefox/IE.

0

, , :

IE , Mozilla Gecko, DOM2. jQuery , jQuery Event Model.

IE css3, Mozilla css3. jQuery .

Mozilla document.getElementsByClassName, , , doesnt. jQuery .

IE Mozilla float, .. Float Mozilla. cssFloat jQuery cssFloat, .

jQuery jQuery.boxModel, , boxModel IE quirks mode W3C-.

0

jQuery , , 26kb, , , , , ( ),

1. [ ]

: , , ajax, .. [ CSS]

2.

, jQuery, [ ], , , , .

3.

, , .

4.

jQuery, , javascript-, , , .

5. DOM Manipulation

jQuery sintax DOM, document.GetElementsByTagName( "tag" ) $( "tag" )

Bottomline

, jQuery , .

0
source

Source: https://habr.com/ru/post/1783551/


All Articles