Click here to Skip to main content
11,805,035 members (57,421 online)
Rate this: bad
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
Edited 17-Feb-13 7:58am
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.
Rate this: bad
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:[^]
Be aware, that not all plugins are written with the same precaution as the main stream.
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. :-)
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. :-)
Rate this: bad
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.

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

  Print Answers RSS
0 OriginalGriff 315
1 Richard Deeming 200
2 Sergey Alexandrovich Kryukov 168
3 CPallini 160
4 CHill60 150
0 OriginalGriff 3,255
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web01 | 2.8.151002.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