Here are the URL for Google's jQuery Library:
https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js
https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
You might be wondering why there are two versions of jQuery 1.x and 2.x, they both use the same APIs and they pretty much mirror each other on a release basis. The only difference is that the 2.x versions does not support IE 6,7, or 8. Just to be on the safe side I always use the 1.x versions.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title></title> </head> <body> </body> </html>Now add the following script tag to the head element
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
To test if jQuery is working write a simple alert message using the $ sign, which is short hand the jQuery object.
<script> $(document).ready(alert("jquery is working")); </script>
You should see an alert message that says "jquery is working" when you load the page.
Here is the complete markup code
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title></title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script> $(document).ready(alert("jquery is working")); </script> </head> <body> </body> </html>
Aivivu đại lý vé máy bay, tham khảo
ReplyDeletegiá vé máy bay đi Mỹ khứ hồi
chuyen bay tu my ve vietnam
bay từ đức về việt nam mấy tiếng
giá vé máy bay từ moscow về hà nội
vé máy bay từ anh về việt nam vietnam airlines
máy bay từ pháp về việt nam
Chi phí cho chuyên gia nước ngoài