Click here to Skip to main content
11,581,186 members (66,536 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Javascript jQuery
I read about jquery and JavaScript and I was asking my self the next question:
What is it about jquery that turns it to be a cross browser while java-script is not?

Can someone please explain to me what turns Jquery to be cross browser language and why JavaScript isn't?

It means that every code that i write with jquery should be supported in all browsers? including internet explorer 6-7-8?

Include all Jquery plugins?
Please explain.
Posted 16-Feb-13 10:47am
eran11341
Edited 17-Feb-13 7:58am
v3
Comments
Sergey Alexandrovich Kryukov at 16-Feb-13 19:28pm
   
There is no such thing as "Java script"! And jQuery is no a language. The question makes no sense.
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

First of all, jquery is not a language. Jquery is a javascript library, meant to ease your life - so you don't have to deal with things like cross-browser issues.
The people writing jquery wrote javascript code that handles the differences between browsers. But even jquery isn't supposed to support oldest versions... but it does. Check here: http://jquery.com/browser-support/?rdfrom=http%3A%2F%2Fdocs.jquery.com%2Fmw%2Findex.php%3Ftitle%3DBrowser_Compatibility%26redirect%3Dno[^]
Be aware, that not all plugins are written with the same precaution as the main stream.
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 16-Feb-13 19:30pm
   
My 5. You could also add that there is no such thing as "Java script". Java is not a scripting language and has nothing to do with JavaScript. :-)
—SA
Zoltán Zörgő at 17-Feb-13 2:11am
   
Thanks. And there is no "java-script" either :)
Sergey Alexandrovich Kryukov at 17-Feb-13 11:35am
   
Never heard of such beast. :-)
—SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

JQuery is indeed a JavaScript library but does not offer cast-iron guarantees to cater for cross-browser issues. It depends on the browser(s) you wish to use your code on and what exactly you are using JQuery to achieve.

There are other libraries which may help, but again it depends on what you are trying to do.

You will need a knowledge of JavaScript if you intend to use JQuery for anything but the most basic of tasks. I would recommend "JavaScript The Definitive Guide" by David Flanagan if you want to master JavaScript. He also touches on JQuery.

People mixing up the terms Java and JavaScript is not unheard of. JavaScript was originally called LiveScript but was renamed due to the popularity of Java.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 250
1 Frankie-C 185
2 Sergey Alexandrovich Kryukov 85
3 Dave Kreskowiak 83
4 F-ES Sitecore 80
0 OriginalGriff 1,183
1 Sergey Alexandrovich Kryukov 825
2 Abhinav S 597
3 F-ES Sitecore 500
4 Suvendu Shekhar Giri 433


Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 17 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100