I’d like to ask a simple question,
Should I use javascript or jquery?
For all I know, jquery is difficult for me to learn (the ajax part at least) and I already know javascript and how to do almost everything in javascript. In some functions I have to say that in my website I used jquery mostly because of the fancy animations but only for that. That is as far as I can go with jquery. So will jquery offer me more in performance or not? Should I learn jquery to create the ajax functions or just stick with javascript?
Also I know it wouldn’t be ideal but do you believe that using both jquery and javascript (of course for different functions) will be buggy??
Thanks in advance.
EDIT: Of course I know that jQuery is a Javascript framework I’m asking if it will offer something more in performance thanks.
jQuery is Javascript.
It’s just a set of Javascript functions that many people find very convenient.
jQuery.ajaxin particular is much easier to use than the nativeXMLHTTPRequest.There is nothing wrong with calling functions that aren’t defined by jQuery.