Hello and welcome to this lecture on how to access jaquie really library.
There are two main ways you can access each query library.
You can download from Jay Query dot com or you can reference it from a content delivery network they
will hosted for you or you need to do this reference to use in this source attribute some on the Jay
Query dot com website.
If he can just go to a query talk can't download and click on Download button.
Depending on what projects you want to use a query for if your debt is going to.
Internet Explorer 9 or less there you one go for geo query.
Version 1 x So there are two branches jaquie one X and a query 2 x 1 x supports Internet Explorer 9
or less.
If you want to use that but if your project doesn't include that you could confirm the latest one which
is version 2 x.
There are two versions of a query each.
The compressed be compressed the compressed is usually used for production development environment because
it makes it faster over the network.
Why are the on compressed is used for development or did boggin work so if on a development work or
debugging or testing then for a comment that you used the on compressed version of a query.
So let me scroll down too.
I've already gone down download that I'm just going to show you what to do.
So if you are going to use version 2 X you don't need Internet Explorer 9 or less.
This is the version you go for.
You download the compressed sorry on compress cause a compress is for a live production environment.
So if you are going to be using development work you'd be needing the whole pressed version just 2.
What is the current version.
Just double click or you're likely saved.
Link.
Just double click and it should download to your download folder.
If you want to reference Gick query from a content delivery network.
This is a good way of doing it.
A lot of people access to query this way because it takes the hassle out of whole scene to query this
content delivery networks the big networks they can hold jacquot for you and you don't need to worry
about whole dating Joe query cause they automatically do it for you or you need to do is reference the
location of the content delivery network.
Just like as they've done here you put the reference in your script tag whereas God is source whole
tribute.
You specified the location of the seat and you want to use your key.
You can specify multiple ones but Google is a very good one.
I'll be using Google for this course.
So if you want a click result of various content delivery network on the tequilla website.
If you wanted to use Google you click on to Google see this and then you go to the chord snippet.
So you go to libraries and the why you want so you just copy this script tag here and paste that into
your text edit or indiscreet stuck in the head section.
This will give you access to the query library.
This is my downloaded git query file.
This is your original.
It's really a small farm.
Here's two for one killer bytes of who write click here ciftci.
This is really tying of files to a lot of 4 to 1 killer byte so you can open it and see what's inside.
If you wish.
Once you downloaded git query you can rename it like I've done here to make it easy for me to reference.
So if you don't want to rename it when you reference it in your source attribute you must include this
the fourth path that is dasch to put one at one point for you must include that.
But if you remove that extension day you can just name it as a jig query.
Dr. G.
So far so.
This is how you would use it in a low call.
P.S. There are advantages and disadvantages of hosting you query yourself locally.
You don't get the odd dates regularly so you miss out on the update.
While a few using a content delivery network day to all exhausting for you the updates are automatic.
So that's the difference between the C D n an host and locally.
So let me show you how you would reference it.
So this is a little piece of code I have written so this is the way you would include a query in your
code.
Usually it would be in the head section or in the script.
Just the very first part of the script.
So this is my local reference to Jake Query because I have renamed it so that's why I've just called
it as a check query.
G is for help and then this is my reference to dcd in network.
This is a Google link to D.J query library.
So for the duration of the Caused by using the link from Google.
Just in case there are any updates during the course.
Know I don't miss them.
Phew.
If you going to do.
Look at me make sure you reference it and name it correctly.
If not you it will not work.
You get your name from.
He will not work so make sure you reference make sure the source links to the name correctly.
Right.
Might be safe to just use the CDMA network like I've done here.
Saw this though.
Now will talk about the syntax so we have reference.
Jake Query lets talk of how you would write a quick query.
So is this how you specify a query code between discrete tag here.
So you got to the first script tag is a reference.
I got two references here and then the main code is between the other script.
So you always specify the source first.
Where you getting your query iffier specify the location object query and then you specify your code
so the first line of code is this.
Here is a document dump ready from.
This is very important.
You find this line of code in Maw's Jake Query code.
What this does is an event handler function it listens out for the web page to make sure the web page
has loaded correctly before this code will execute fast the main post of the document read from Chuck.
So every jiegu query code is identified with the dollar sign.
Any way you see a dollar sign you know you are referencing a G query library a dollar sign and then
you've got this select top which is this document dot ready function which listens out for the web page
to load before the code underneath executes and is called.
Here is this query uses the ankle as a selector which is this ankle tag here.
This link is that has that select OK so what with them.
When I click on this link the event that I want to happen is to make a alert box pop up so when the
link is clicked this allow alert box will pop up and then it would direct me to the location of the
link.
So let's check this out.
So we're going to test it.
Queries work.
So if I click on this link here which is this year it should give me this alert and then redirect me
to the actual link.
So if I click on that TASSI alert from that's legal k..
If you now redirect me to this location that is due query is working and installed properly and its
reference.
So one advantage also us of having to query.
Look for an also from.
See the end.
For example.
The first line doesn't work if you can't find a query locally.
It will pick a query up from the CDL network below.
So I've specified it twice.
If he doesn't get it then he'll pick it up from here.
In this video.
Hi should you.
How to download Jake Query from a query.
There are laws or how to reference it on on your code and also using the content delivery network object
query.
Code must be preceded with a dollar sign in the way you see a dollar sign.
You know you are referencing a G query.
Thank you so much for watching.