However, there are certain flaws of it that also hinder the usage of jQuery on the sites. There are certain flaws that make your work difficult if you want to use this on the websites. Thus, we shall discuss the flaws of jQuery in detail.
The first flaw of jQuery is that it uses local data of the webpage to store the object instead of using a global data. This is true for the most of the time, when you are using it. But there are some exceptions where you can use it globally without any side effects. You can store a local object to save memory space.
The second flaw of jQuery is that the option of document.open does not exist for it. The window method is used instead. This can easily be used by third party scripts that do not require any level of access. The result is that you may have to modify some of your code if you want to use this. This can lead to trouble in the long run as well.
The second flaw of jQuery is that it forces its objects to read only from the event stream. This is a fact that makes jQuery unable to read other objects. If you want to use some other objects such as Document.all, then you will be forced to rewrite the codes to use them.
The third flaw of jQuery is that it forces scripts that do not support the non-standard scripts to load from the document. You can find a number of interesting websites on the Internet that allow you to change the scripts that are not supported by the browser.