The logic behind using jQuery?

I have a good understanding of how javascript as well as jQuery can be used in an HTML file, but one question logically arises.

When we want to embed javascript in an HTML file, as a rule (not every time), we write this simple code in the head part.

<script type="text/javascript"> ... </script>

And when we want to embed jQuery at that time in the same world of code

<script type="text/javascript"> ... </script>

How can we identify, seeing only this line, is it js code or jQuery code?

Can anyone tell me about this logic?

+5
source share
3 answers

jQuery is just a Javascript script that provides you, when you execute it before your own scripts, some very useful functions.

When you code jQuery, you code in Javascript.

, , jQuery, ( , ) Vanilla Javascript.

, jQuery :

<script type="text/javascript" src="jquery-ui-1.8.21.custom.min.js"></script>

, jQuery script .

+9

jQuery - javascript

jQuery - javascript, , ( jQuery javascript).

jQuery - JavaScript, HTML

: Wikipedia

+1

, jquery - jquery - javascript. , javascript javascript, jquery. , jQuery, , , .

+1
source

All Articles