InterviewSolution
Saved Bookmarks
| 1. |
How to check if an element has class name “x” ? |
|
Answer» As of FEB 2019, the latest version is v.3.3.1. There are two ways to include jquery in html page. The first one is to download the compressed version of jquery file from https://jquery.com/download/ and save it in the scripts directory of the project and then include in html page through <SCRIPT> tag. The following is the example. <script src=”/src/scripts/jquery-3.3.1.min.js”</script> The second option is to use CDN’s host compressed and uncompressed versions of jquery. The following are some of the popular CDN’s available. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> Or <script> src=”https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js” </script> |
|