Jquery basics before developing

JQuery Basics 2


jQuery is a framework built using JavaScript capabilities. So you can use all the functions and other capabilities available in JavaScript.


To learn JQuery we should have a some basic knowledge on Java secript.The basic concepts that we should Know to start learning JQuery are
  • Aboiut the data types
  • About Arrays
  • About Functions
  • About Arguments
  • About Objests
  • About Context
  • About Scope (Global and Local Variables)
  • and Finally about Built in functions in Java Script

Lets Start JQuery

jQuery is a client script library and so we have to add a script reference to our page
There are many ways that we can include jQuery into our page:
  • Reference a local copy via <script> tag in the page
  • Reference a local copy with ScriptManager
  • Embed script from Resource using the ClientScript object
  • Reference a remote copy from jQuery.com or Google Ajax API
 Example:



<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="scripts/jquery.js" type="text/javascript"></script>
</head>
<body>

   "$" is the JQuery object(also named JQuery).

Share it

1 comments:

Post a Comment