SlideShare una empresa de Scribd logo
1 de 202
The jQuery Library



  Learn More @ http://www.learnnowonline.com
     Copyright © by Application Developers Training Company
Objectives




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Objectives

• Understand what the jQuery library is and the
  benefits it has for Web development




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Objectives

• Understand what the jQuery library is and the
  benefits it has for Web development
• Learn how to use jQuery and understand how it
  works




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Objectives

• Understand what the jQuery library is and the
  benefits it has for Web development
• Learn how to use jQuery and understand how it
  works
• See how to use selectors to create wrapped sets
  that methods can take action on




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Agenda




     Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Agenda

• jQuery for the ASP.NET Developer




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Agenda

• jQuery for the ASP.NET Developer
• Using jQuery




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Agenda

• jQuery for the ASP.NET Developer
• Using jQuery
• Selectors, Wrapped Sets, and Chains




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
     But is a common automation feature in browsers




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
     But is a common automation feature in browsers
     Lacks strong types




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
     But is a common automation feature in browsers
     Lacks strong types
     Interpreted, when that wasn’t cool




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
       But is a common automation feature in browsers
       Lacks strong types
       Interpreted, when that wasn’t cool
       Hard to debug with poor tools




                Learn More @ http://www.learnnowonline.com
                   Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
       But is a common automation feature in browsers
       Lacks strong types
       Interpreted, when that wasn’t cool
       Hard to debug with poor tools
       Never lived up to its Java namesake




                Learn More @ http://www.learnnowonline.com
                   Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
       But is a common automation feature in browsers
       Lacks strong types
       Interpreted, when that wasn’t cool
       Hard to debug with poor tools
       Never lived up to its Java namesake
       Stagnating




                Learn More @ http://www.learnnowonline.com
                   Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
       But is a common automation feature in browsers
       Lacks strong types
       Interpreted, when that wasn’t cool
       Hard to debug with poor tools
       Never lived up to its Java namesake
       Stagnating
 • But then Web 2.0 happened




                Learn More @ http://www.learnnowonline.com
                   Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
       But is a common automation feature in browsers
       Lacks strong types
       Interpreted, when that wasn’t cool
       Hard to debug with poor tools
       Never lived up to its Java namesake
       Stagnating
 • But then Web 2.0 happened
     Requires a lot of JavaScript to implement



                Learn More @ http://www.learnnowonline.com
                   Copyright © by Application Developers Training Company
jQuery for the ASP.NET Developer
 • JavaScript had long been a second class citizen of Web
   development
       But is a common automation feature in browsers
       Lacks strong types
       Interpreted, when that wasn’t cool
       Hard to debug with poor tools
       Never lived up to its Java namesake
       Stagnating
 • But then Web 2.0 happened
     Requires a lot of JavaScript to implement
     Programmer’s solution: build libraries!


                Learn More @ http://www.learnnowonline.com
                   Copyright © by Application Developers Training Company
jQuery Dominates




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
jQuery Dominates
• Simple, robust JavaScript library




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
jQuery Dominates
• Simple, robust JavaScript library
   Relative newcomer, introduced in 2006




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
jQuery Dominates
• Simple, robust JavaScript library
    Relative newcomer, introduced in 2006
• What is Microsoft’s story in this space?




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
jQuery Dominates
• Simple, robust JavaScript library
    Relative newcomer, introduced in 2006
• What is Microsoft’s story in this space?
    After all, produces widely-used ASP.NET for Web




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
jQuery Dominates
• Simple, robust JavaScript library
    Relative newcomer, introduced in 2006
• What is Microsoft’s story in this space?
    After all, produces widely-used ASP.NET for Web
    Now supports jQuery in favor of own library




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The Microsoft Ajax Library




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library
• Pure JavaScript, so use anywhere




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library
• Pure JavaScript, so use anywhere
• Created it for ASP.NET developers




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library
• Pure JavaScript, so use anywhere
• Created it for ASP.NET developers
    Feels and acts like the .NET Framework




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library
• Pure JavaScript, so use anywhere
• Created it for ASP.NET developers
    Feels and acts like the .NET Framework
    Similar to writing C# or VB code




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library
• Pure JavaScript, so use anywhere
• Created it for ASP.NET developers
    Feels and acts like the .NET Framework
    Similar to writing C# or VB code
    Adds an object-oriented nature to JavaScript code




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library
• Pure JavaScript, so use anywhere
• Created it for ASP.NET developers
    Feels and acts like the .NET Framework
    Similar to writing C# or VB code
    Adds an object-oriented nature to JavaScript code
• Minimized version is only 98KB

            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The Microsoft Ajax Library
• Initially released to support Ajax for Web forms
• Robust, relatively lightweight, general-purpose
  JavaScript library
• Pure JavaScript, so use anywhere
• Created it for ASP.NET developers
    Feels and acts like the .NET Framework
    Similar to writing C# or VB code
    Adds an object-oriented nature to JavaScript code
• Minimized version is only 98KB
    Debug version is 304KB, but isn’t for production
             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Ajax Library Components




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js
    MicrosoftMvcAjax.js




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js
    MicrosoftMvcAjax.js
    MicrosoftMvcValidation.js




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js
    MicrosoftMvcAjax.js
    MicrosoftMvcValidation.js
• Supports client-side controls in the Ajax Control
  Toolkit




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js
    MicrosoftMvcAjax.js
    MicrosoftMvcValidation.js
• Supports client-side controls in the Ajax Control
  Toolkit
• Everything changed in late 2010




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js
    MicrosoftMvcAjax.js
    MicrosoftMvcValidation.js
• Supports client-side controls in the Ajax Control
  Toolkit
• Everything changed in late 2010
    Embracing jQuery in favor of Ajax Library



            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js
    MicrosoftMvcAjax.js
    MicrosoftMvcValidation.js
• Supports client-side controls in the Ajax Control
  Toolkit
• Everything changed in late 2010
    Embracing jQuery in favor of Ajax Library
    Now available only as part of the Ajax Control Toolkit


            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Ajax Library Components
• Three files:
    MicrosoftAjax.js
    MicrosoftMvcAjax.js
    MicrosoftMvcValidation.js
• Supports client-side controls in the Ajax Control
  Toolkit
• Everything changed in late 2010
    Embracing jQuery in favor of Ajax Library
    Now available only as part of the Ajax Control Toolkit
• The Age of jQuery has begun!
            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery Library




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
    Only 83KB in the minified version




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
    Only 83KB in the minified version
    Stays focused on core features




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
    Only 83KB in the minified version
    Stays focused on core features
    Provides a rich plug-in model




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
      Only 83KB in the minified version
      Stays focused on core features
      Provides a rich plug-in model
      Non-essential features kept out of core




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
      Only 83KB in the minified version
      Stays focused on core features
      Provides a rich plug-in model
      Non-essential features kept out of core
• In 2008, Microsoft announced it would include jQuery
  with MVC




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
      Only 83KB in the minified version
      Stays focused on core features
      Provides a rich plug-in model
      Non-essential features kept out of core
• In 2008, Microsoft announced it would include jQuery
  with MVC
    Going forward, would include with Visual Studio



              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
      Only 83KB in the minified version
      Stays focused on core features
      Provides a rich plug-in model
      Non-essential features kept out of core
• In 2008, Microsoft announced it would include jQuery
  with MVC
    Going forward, would include with Visual Studio
    Microsoft fully supports jQuery


              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
The jQuery Library
• 3rd party, open source library by John Resig
• Core library is lightweight
      Only 83KB in the minified version
      Stays focused on core features
      Provides a rich plug-in model
      Non-essential features kept out of core
• In 2008, Microsoft announced it would include jQuery
  with MVC
    Going forward, would include with Visual Studio
    Microsoft fully supports jQuery
    MVC 2 and 3, and other project types, include jQuery
              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Benefits of jQuery




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
   Lean and mean




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
   Lean and mean
   Handles cross-browser issues




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
   Lean and mean
   Handles cross-browser issues
   Simple, clean, powerful syntax




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
     Lean and mean
     Handles cross-browser issues
     Simple, clean, powerful syntax
     Highly extensible




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
     Lean and mean
     Handles cross-browser issues
     Simple, clean, powerful syntax
     Highly extensible
     Supports unobtrusive JavaScript




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
     Lean and mean
     Handles cross-browser issues
     Simple, clean, powerful syntax
     Highly extensible
     Supports unobtrusive JavaScript
     Includes many utility functions



            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
     Lean and mean
     Handles cross-browser issues
     Simple, clean, powerful syntax
     Highly extensible
     Supports unobtrusive JavaScript
     Includes many utility functions
     Widely used


            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Benefits of jQuery
• Makes using the DOM extremely easy
• Benefits:
     Lean and mean
     Handles cross-browser issues
     Simple, clean, powerful syntax
     Highly extensible
     Supports unobtrusive JavaScript
     Includes many utility functions
     Widely used
• Makes for a strong contender as a library
            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Which Version?




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available
   Monthly minor releases (e.g., 1.5.1)




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available
   Monthly minor releases (e.g., 1.5.1)
   Annual major release (e.g., 1.5)




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available
   Monthly minor releases (e.g., 1.5.1)
   Annual major release (e.g., 1.5)
• Visual Studio 2010 includes version 1.4.1




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
    Good chance that new versions are available
    Monthly minor releases (e.g., 1.5.1)
    Annual major release (e.g., 1.5)
• Visual Studio 2010 includes version 1.4.1
• Availability of vsdoc file lags jQuery release




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available
   Monthly minor releases (e.g., 1.5.1)
   Annual major release (e.g., 1.5)
• Visual Studio 2010 includes version 1.4.1
• Availability of vsdoc file lags jQuery release
• Damian Edwards’ vsdoc File Generator utility




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available
   Monthly minor releases (e.g., 1.5.1)
   Annual major release (e.g., 1.5)
• Visual Studio 2010 includes version 1.4.1
• Availability of vsdoc file lags jQuery release
• Damian Edwards’ vsdoc File Generator utility
   Blog is at https://damianedwards.wordpress.com




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available
   Monthly minor releases (e.g., 1.5.1)
   Annual major release (e.g., 1.5)
• Visual Studio 2010 includes version 1.4.1
• Availability of vsdoc file lags jQuery release
• Damian Edwards’ vsdoc File Generator utility
   Blog is at https://damianedwards.wordpress.com
   Grab latest version there


           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Which Version?
• Course is based on jQuery version 1.5
   Good chance that new versions are available
   Monthly minor releases (e.g., 1.5.1)
   Annual major release (e.g., 1.5)
• Visual Studio 2010 includes version 1.4.1
• Availability of vsdoc file lags jQuery release
• Damian Edwards’ vsdoc File Generator utility
   Blog is at https://damianedwards.wordpress.com
   Grab latest version there
   Or use the utility to build your own

           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Progressive Enhancement




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript
   And other users can turn it off




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript
   And other users can turn it off
• Page must work in a minimal fashion for all




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript
   And other users can turn it off
• Page must work in a minimal fashion for all
• Historically, two options:




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript
   And other users can turn it off
• Page must work in a minimal fashion for all
• Historically, two options:
   Graceful degradation




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript
   And other users can turn it off
• Page must work in a minimal fashion for all
• Historically, two options:
   Graceful degradation
   Progressive enhancement




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript
   And other users can turn it off
• Page must work in a minimal fashion for all
• Historically, two options:
   Graceful degradation
   Progressive enhancement
• Key assumption of graceful degradation flawed




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Progressive Enhancement
• Problem: older browsers don’t support JavaScript
   And other users can turn it off
• Page must work in a minimal fashion for all
• Historically, two options:
   Graceful degradation
   Progressive enhancement
• Key assumption of graceful degradation flawed
• Unless have control over browsers, always
  design with progressive enhancement

           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Delivering jQuery to the Browser




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Delivering jQuery to the Browser
 • Can always download latest version for
   development at jquery.com




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Delivering jQuery to the Browser
 • Can always download latest version for
   development at jquery.com
 • Include in Web pages using <script> element




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Delivering jQuery to the Browser
 • Can always download latest version for
   development at jquery.com
 • Include in Web pages using <script> element
    Implemented as regular .js file




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Delivering jQuery to the Browser
 • Can always download latest version for
   development at jquery.com
 • Include in Web pages using <script> element
    Implemented as regular .js file
    <script
     src="/Scripts/jquery-1.5.min.js"
     type="text/javascript"></script>




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Delivering jQuery to the Browser
 • Can always download latest version for
   development at jquery.com
 • Include in Web pages using <script> element
    Implemented as regular .js file
    <script
     src="/Scripts/jquery-1.5.min.js"
     type="text/javascript"></script>
 • But where do you host it?



           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Hosted On Your Site




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Hosted On Your Site
• When you use a relative path, jQuery file has to
  be in that location…of course!




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Hosted On Your Site
• When you use a relative path, jQuery file has to
  be in that location…of course!
• Drawbacks




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Hosted On Your Site
• When you use a relative path, jQuery file has to
  be in that location…of course!
• Drawbacks
   You must provide bandwidth




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Hosted On Your Site
• When you use a relative path, jQuery file has to
  be in that location…of course!
• Drawbacks
   You must provide bandwidth
   Browser caches the file but only for your site




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Hosted On Your Site
• When you use a relative path, jQuery file has to
  be in that location…of course!
• Drawbacks
   You must provide bandwidth
   Browser caches the file but only for your site
   May be significant network latency




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use a Content Delivery Network




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content
• Biggest are Google and Microsoft




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content
• Biggest are Google and Microsoft
• Benefits




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content
• Biggest are Google and Microsoft
• Benefits
   CDN provides the bandwidth




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content
• Biggest are Google and Microsoft
• Benefits
   CDN provides the bandwidth
   Browser can cache files for use across sites




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content
• Biggest are Google and Microsoft
• Benefits
   CDN provides the bandwidth
   Browser can cache files for use across sites
   CDN is geographically dispersed, to reduce latency




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content
• Biggest are Google and Microsoft
• Benefits
     CDN provides the bandwidth
     Browser can cache files for use across sites
     CDN is geographically dispersed, to reduce latency
     Take advantage of CDN’s network



             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Use a Content Delivery Network
• Geographically distributed set of servers that
  host and deliver content
• Biggest are Google and Microsoft
• Benefits
     CDN provides the bandwidth
     Browser can cache files for use across sites
     CDN is geographically dispersed, to reduce latency
     Take advantage of CDN’s network
• Both CDNs host latest and some prior versions

             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Using a CDN




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Using a CDN
• Microsoft




          Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using a CDN
• Microsoft
   <script src="http://ajax.aspnetcdn.com/ajax/
    jQuery/jquery-1.5.min.js" type="text/
    javascript"></script>




          Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using a CDN
• Microsoft
   <script src="http://ajax.aspnetcdn.com/ajax/
    jQuery/jquery-1.5.min.js" type="text/
    javascript"></script>

• Google




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using a CDN
• Microsoft
   <script src="http://ajax.aspnetcdn.com/ajax/
    jQuery/jquery-1.5.min.js" type="text/
    javascript"></script>

• Google
   <script src="https://ajax.googleapis.com/ajax/
    libs/ jquery/1.5.0/jquery.min.js" type="text/
    javascript"></script>




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using a CDN
• Microsoft
   <script src="http://ajax.aspnetcdn.com/ajax/
    jQuery/jquery-1.5.min.js" type="text/
    javascript"></script>

• Google
   <script src="https://ajax.googleapis.com/ajax/
    libs/ jquery/1.5.0/jquery.min.js" type="text/
    javascript"></script>
   Also can use a google.load() call




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using a CDN
• Microsoft
    <script src="http://ajax.aspnetcdn.com/ajax/
     jQuery/jquery-1.5.min.js" type="text/
     javascript"></script>

• Google
    <script src="https://ajax.googleapis.com/ajax/
     libs/ jquery/1.5.0/jquery.min.js" type="text/
     javascript"></script>
    Also can use a google.load() call
• Files hosted differ


            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Using a CDN
• Microsoft
   <script src="http://ajax.aspnetcdn.com/ajax/
    jQuery/jquery-1.5.min.js" type="text/
    javascript"></script>

• Google
   <script src="https://ajax.googleapis.com/ajax/
    libs/ jquery/1.5.0/jquery.min.js" type="text/
    javascript"></script>
   Also can use a google.load() call
• Files hosted differ
• Don’t always immediately upload latest version

           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Compressed and Uncompressed




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
Compressed and Uncompressed
• Two versions of the core library are available




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Compressed and Uncompressed
• Two versions of the core library are available




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Compressed and Uncompressed
• Two versions of the core library are available
   Can also download earlier versions




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Compressed and Uncompressed
• Two versions of the core library are available
   Can also download earlier versions
   Development version with comments and whitespace




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Compressed and Uncompressed
• Two versions of the core library are available
   Can also download earlier versions
   Development version with comments and whitespace
   Production version that is minified




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Agenda




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Agenda
• jQuery for the ASP.NET Developer




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Agenda
• jQuery for the ASP.NET Developer
• Using jQuery




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Agenda
• jQuery for the ASP.NET Developer
• Using jQuery
• Selectors, Wrapped Sets, and Chains




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Using jQuery




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Using jQuery
• If you know basics of JavaScript, learning basic
  jQuery is easy




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using jQuery
• If you know basics of JavaScript, learning basic
  jQuery is easy
• Start by looking at a couple of simple examples




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
A jQuery Statement




      Learn More @ http://www.learnnowonline.com
         Copyright © by Application Developers Training Company
A jQuery Statement

 jQuery('p').text('jQuery is cool!');




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
A jQuery Statement

   jQuery('p').text('jQuery is cool!');

     jQuery
    function


• jQuery is entrée to the library




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
A jQuery Statement

  jQuery('p').text('jQuery is cool!');

     jQuery    Selector
    function


• jQuery is entrée to the library
• Selector selects one or more elements




               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
A jQuery Statement

   jQuery('p').text('jQuery is cool!');

     jQuery    Selector Method
    function


• jQuery is entrée to the library
• Selector selects one or more elements
• Method is a JavaScript function that takes action



               Learn More @ http://www.learnnowonline.com
                  Copyright © by Application Developers Training Company
A jQuery Statement

    jQuery('p').text('jQuery is cool!');

       jQuery    Selector Method                         Parameter(s)
      function


•   jQuery is entrée to the library
•   Selector selects one or more elements
•   Method is a JavaScript function that takes action
•   Optional parameters


                 Learn More @ http://www.learnnowonline.com
                    Copyright © by Application Developers Training Company
The jQuery Function




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace
   Almost eliminates chance of naming conflicts




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace
   Almost eliminates chance of naming conflicts
   Sometimes called the jQuery Namespace




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace
   Almost eliminates chance of naming conflicts
   Sometimes called the jQuery Namespace
• Could create your own custom jQuery function




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace
   Almost eliminates chance of naming conflicts
   Sometimes called the jQuery Namespace
• Could create your own custom jQuery function
• Typically used a lot in a page




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace
   Almost eliminates chance of naming conflicts
   Sometimes called the jQuery Namespace
• Could create your own custom jQuery function
• Typically used a lot in a page
   Alias: $




           Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace
   Almost eliminates chance of naming conflicts
   Sometimes called the jQuery Namespace
• Could create your own custom jQuery function
• Typically used a lot in a page
   Alias: $
• Equivalent statements:


           Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
The jQuery Function
• Start all jQuery statements with this
• Sort of a namespace
   Almost eliminates chance of naming conflicts
   Sometimes called the jQuery Namespace
• Could create your own custom jQuery function
• Typically used a lot in a page
   Alias: $
• Equivalent statements:
   jQuery('p').text('jQuery is cool!');
    $('p').text('jQuery is cool!');
           Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Waiting for the Page to Load




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Waiting for the Page to Load
• Samples have shown script blocks that wire up
  events and change content




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Waiting for the Page to Load
• Samples have shown script blocks that wire up
  events and change content
   Placed at the end of the Web page




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Waiting for the Page to Load
• Samples have shown script blocks that wire up
  events and change content
   Placed at the end of the Web page
   DOM had to already be loaded




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Waiting for the Page to Load
• Samples have shown script blocks that wire up
  events and change content
   Placed at the end of the Web page
   DOM had to already be loaded
   Otherwise get null references or errors




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Waiting for the Page to Load
• Samples have shown script blocks that wire up
  events and change content
   Placed at the end of the Web page
   DOM had to already be loaded
   Otherwise get null references or errors
• Ideally, put all code in head section under
  separation of functionality principle




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Waiting for the Page to Load
• Samples have shown script blocks that wire up
  events and change content
   Placed at the end of the Web page
   DOM had to already be loaded
   Otherwise get null references or errors
• Ideally, put all code in head section under
  separation of functionality principle
   But then runs before DOM is loaded




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Agenda




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Agenda
• jQuery for the ASP.NET Developer




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Agenda
• jQuery for the ASP.NET Developer
• Using jQuery




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Agenda
• jQuery for the ASP.NET Developer
• Using jQuery
• Selectors, Wrapped Sets, and Chains




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Selectors, Wrapped Sets, and Chains




         Learn More @ http://www.learnnowonline.com
            Copyright © by Application Developers Training Company
Selectors, Wrapped Sets, and Chains


  • jQuery lets you build powerful statements




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Selectors, Wrapped Sets, and Chains


  • jQuery lets you build powerful statements
  • Selects elements, take action




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Selectors, Wrapped Sets, and Chains


  • jQuery lets you build powerful statements
  • Selects elements, take action
  • Now it’s time to explore how jQuery does this




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Selectors, Wrapped Sets, and Chains


  •   jQuery lets you build powerful statements
  •   Selects elements, take action
  •   Now it’s time to explore how jQuery does this
  •   jQuery Selector Test Page




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Using jQuery Selectors




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Using jQuery Selectors
• Selector is a string that identifies elements to
  match




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using jQuery Selectors
• Selector is a string that identifies elements to
  match
    Add to wrapped set




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using jQuery Selectors
• Selector is a string that identifies elements to
  match
    Add to wrapped set
• Sometimes simple, like all images on the page




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using jQuery Selectors
• Selector is a string that identifies elements to
  match
    Add to wrapped set
• Sometimes simple, like all images on the page
• Sometimes complex, based on content and
  structure of the page




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using jQuery Selectors
• Selector is a string that identifies elements to
  match
    Add to wrapped set
• Sometimes simple, like all images on the page
• Sometimes complex, based on content and
  structure of the page
• Selector syntax is based on CSS 3




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using jQuery Selectors
• Selector is a string that identifies elements to
  match
    Add to wrapped set
• Sometimes simple, like all images on the page
• Sometimes complex, based on content and
  structure of the page
• Selector syntax is based on CSS 3
    Subset and superset



           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Using jQuery Selectors
• Selector is a string that identifies elements to
  match
    Add to wrapped set
• Sometimes simple, like all images on the page
• Sometimes complex, based on content and
  structure of the page
• Selector syntax is based on CSS 3
    Subset and superset
    Doesn’t depend on browser’s support for CSS 3


           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Simple Selectors




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Simple Selectors
• Easiest way to define a selector is to use the
  HTML element name




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Simple Selectors
• Easiest way to define a selector is to use the
  HTML element name
   img, tr, a, input, etc.




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Simple Selectors
• Easiest way to define a selector is to use the
  HTML element name
   img, tr, a, input, etc.
   Selects all elements of that type




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Attribute Value Selectors




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Attribute Value Selectors




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Selector                                          Description
  Attribute Value Selectors
elem[attr |= value] The attribute value is either equal to the specified
                    value or starts with that value followed by a
                    hypen. This is referred to as a prefix selector.
elem[attr *= value] The attribute value contains the specified value.


elem[attr ~= value] The attribute value contains the specified value as
                    a word delimited by spaces. In other words, The
                    selector matches if the specified value is exactly
elem[attr $= value] equal to any of the ends withthe attribute value.
                    The attribute value words in the specified value.
                    This is referred to as a word selector.

elem[attr != value] The element either doesn’t have the specified
                    attribute or the attribute value doesn’t match the
                    specified value.
elem[attr ^= value] The attribute value begins with the specified
                    value.
                 Learn More @ http://www.learnnowonline.com
                      Copyright © by Application Developers Training Company
jQuery Filters




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
jQuery Filters
• So far, techniques are too blunt a tool




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
jQuery Filters
• So far, techniques are too blunt a tool
   e.g., no easy way to select alternating rows in a table




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
jQuery Filters
• So far, techniques are too blunt a tool
    e.g., no easy way to select alternating rows in a table
• Need a filter




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
jQuery Filters
• So far, techniques are too blunt a tool
    e.g., no easy way to select alternating rows in a table
• Need a filter
    Takes selected elements and filters them down further




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
jQuery Filters
• So far, techniques are too blunt a tool
    e.g., no easy way to select alternating rows in a table
• Need a filter
    Takes selected elements and filters them down further
    Based on criteria you select




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Other Filters




        Learn More @ http://www.learnnowonline.com
           Copyright © by Application Developers Training Company
Other Filters
• Filters provide power and finesse!




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Other Filters
• Filters provide power and finesse!
• There’s more:




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Other Filters
• Filters provide power and finesse!
• There’s more:
   Content filters




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Other Filters
• Filters provide power and finesse!
• There’s more:
   Content filters
   Visibility filters




             Learn More @ http://www.learnnowonline.com
                Copyright © by Application Developers Training Company
Other Filters
• Filters provide power and finesse!
• There’s more:
   Content filters
   Visibility filters
   Hierarchy filters




            Learn More @ http://www.learnnowonline.com
               Copyright © by Application Developers Training Company
Other Filters
• Filters provide power and finesse!
• There’s more:
     Content filters
     Visibility filters
     Hierarchy filters
     Child filters




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Other Filters
• Filters provide power and finesse!
• There’s more:
     Content filters
     Visibility filters
     Hierarchy filters
     Child filters
• nth-child filter is an anomaly: one-based




              Learn More @ http://www.learnnowonline.com
                 Copyright © by Application Developers Training Company
Wrapped Sets and Chaining




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets
   Wrapper methods can perform actions




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets
   Wrapper methods can perform actions
   No need to write tedious looping code




          Learn More @ http://www.learnnowonline.com
             Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets
   Wrapper methods can perform actions
   No need to write tedious looping code
   Wrapper methods do that internally for you




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets
   Wrapper methods can perform actions
   No need to write tedious looping code
   Wrapper methods do that internally for you
• Two wrapper methods




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets
   Wrapper methods can perform actions
   No need to write tedious looping code
   Wrapper methods do that internally for you
• Two wrapper methods
   $('img, input[type = 'text']',
    '#sampleHTML').addClass('wrappedSet');




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets
   Wrapper methods can perform actions
   No need to write tedious looping code
   Wrapper methods do that internally for you
• Two wrapper methods
   $('img, input[type = 'text']',
    '#sampleHTML').addClass('wrappedSet');

• Methods to manage the wrapped set



           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Wrapped Sets and Chaining
• Selectors produce wrapped sets
   Wrapper methods can perform actions
   No need to write tedious looping code
   Wrapper methods do that internally for you
• Two wrapper methods
   $('img, input[type = 'text']',
    '#sampleHTML').addClass('wrappedSet');

• Methods to manage the wrapped set
   var wrappedSet = $(selector,
    '#sampleHTML').addClass('wrappedSet');
    $('#elementCount').html(wrappedSet.length);

           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company
Learn More!




       Learn More @ http://www.learnnowonline.com
          Copyright © by Application Developers Training Company
Learn More!
• This is an excerpt from a larger course. Visit
  www.learnnowonline.com for the full details!




           Learn More @ http://www.learnnowonline.com
              Copyright © by Application Developers Training Company

Más contenido relacionado

La actualidad más candente

Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQueryZeeshan Khan
 
jQuery in the [Aol.] Enterprise
jQuery in the [Aol.] EnterprisejQuery in the [Aol.] Enterprise
jQuery in the [Aol.] EnterpriseDave Artz
 
Getting the Most Out of jQuery Widgets
Getting the Most Out of jQuery WidgetsGetting the Most Out of jQuery Widgets
Getting the Most Out of jQuery Widgetsvelveeta_512
 
JavaScript Libraries (@Media)
JavaScript Libraries (@Media)JavaScript Libraries (@Media)
JavaScript Libraries (@Media)jeresig
 
SharePoint and jQuery Essentials
SharePoint and jQuery EssentialsSharePoint and jQuery Essentials
SharePoint and jQuery EssentialsMark Rackley
 
Organizing Code with JavascriptMVC
Organizing Code with JavascriptMVCOrganizing Code with JavascriptMVC
Organizing Code with JavascriptMVCThomas Reynolds
 
JavaScript Libraries (Kings of Code)
JavaScript Libraries (Kings of Code)JavaScript Libraries (Kings of Code)
JavaScript Libraries (Kings of Code)jeresig
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introductionTomi Juhola
 
fuser interface-development-using-jquery
fuser interface-development-using-jqueryfuser interface-development-using-jquery
fuser interface-development-using-jqueryKostas Mavridis
 
jQuery Presentation
jQuery PresentationjQuery Presentation
jQuery PresentationRod Johnson
 
Learning jQuery in 30 minutes
Learning jQuery in 30 minutesLearning jQuery in 30 minutes
Learning jQuery in 30 minutesSimon Willison
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQueryGunjan Kumar
 

La actualidad más candente (20)

jQuery Essentials
jQuery EssentialsjQuery Essentials
jQuery Essentials
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuery
 
jQuery
jQueryjQuery
jQuery
 
D3.js and SVG
D3.js and SVGD3.js and SVG
D3.js and SVG
 
jQuery in the [Aol.] Enterprise
jQuery in the [Aol.] EnterprisejQuery in the [Aol.] Enterprise
jQuery in the [Aol.] Enterprise
 
Getting the Most Out of jQuery Widgets
Getting the Most Out of jQuery WidgetsGetting the Most Out of jQuery Widgets
Getting the Most Out of jQuery Widgets
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginners
 
jQuery
jQueryjQuery
jQuery
 
JavaScript Libraries (@Media)
JavaScript Libraries (@Media)JavaScript Libraries (@Media)
JavaScript Libraries (@Media)
 
SharePoint and jQuery Essentials
SharePoint and jQuery EssentialsSharePoint and jQuery Essentials
SharePoint and jQuery Essentials
 
Organizing Code with JavascriptMVC
Organizing Code with JavascriptMVCOrganizing Code with JavascriptMVC
Organizing Code with JavascriptMVC
 
Javascript in Plone
Javascript in PloneJavascript in Plone
Javascript in Plone
 
jQuery
jQueryjQuery
jQuery
 
JavaScript Libraries (Kings of Code)
JavaScript Libraries (Kings of Code)JavaScript Libraries (Kings of Code)
JavaScript Libraries (Kings of Code)
 
jQuery introduction
jQuery introductionjQuery introduction
jQuery introduction
 
fuser interface-development-using-jquery
fuser interface-development-using-jqueryfuser interface-development-using-jquery
fuser interface-development-using-jquery
 
jQuery Presentation
jQuery PresentationjQuery Presentation
jQuery Presentation
 
Learning jQuery in 30 minutes
Learning jQuery in 30 minutesLearning jQuery in 30 minutes
Learning jQuery in 30 minutes
 
Introduction to jQuery
Introduction to jQueryIntroduction to jQuery
Introduction to jQuery
 

Similar a The jQuery Library

Getting Started with .NET
Getting Started with .NETGetting Started with .NET
Getting Started with .NETLearnNowOnline
 
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCKnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCLearnNowOnline
 
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5LearnNowOnline
 
Top Java Script Frameworks for 2019
Top Java Script Frameworks for 2019Top Java Script Frameworks for 2019
Top Java Script Frameworks for 2019Sarah Elson
 
Play Framework: Intro & High-Level Overview
Play Framework: Intro & High-Level OverviewPlay Framework: Intro & High-Level Overview
Play Framework: Intro & High-Level OverviewJosh Padnick
 
Isomorphic JavaScript – future of the web
Isomorphic JavaScript – future of the webIsomorphic JavaScript – future of the web
Isomorphic JavaScript – future of the webSigma Software
 
Immutable infrastructure:觀念與實作 (建議)
Immutable infrastructure:觀念與實作 (建議)Immutable infrastructure:觀念與實作 (建議)
Immutable infrastructure:觀念與實作 (建議)William Yeh
 
Managing site collections
Managing site collectionsManaging site collections
Managing site collectionsLearnNowOnline
 
Building Pistachio with Sencha Touch 2 (introductory)
Building Pistachio with Sencha Touch 2 (introductory)Building Pistachio with Sencha Touch 2 (introductory)
Building Pistachio with Sencha Touch 2 (introductory)Luis Merino
 
What all things to consider for a good career in java
What all things to consider for a good career in javaWhat all things to consider for a good career in java
What all things to consider for a good career in javaJanBask Training
 
AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleCharlie Perrins
 
A sneak peek into the similarities and differences between java and java script
A sneak peek into the similarities and differences between java and java scriptA sneak peek into the similarities and differences between java and java script
A sneak peek into the similarities and differences between java and java scriptAMC Square
 

Similar a The jQuery Library (20)

Getting Started with .NET
Getting Started with .NETGetting Started with .NET
Getting Started with .NET
 
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVCKnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVC
 
Javascript 01 (js)
Javascript 01 (js)Javascript 01 (js)
Javascript 01 (js)
 
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
 
Top Java Script Frameworks for 2019
Top Java Script Frameworks for 2019Top Java Script Frameworks for 2019
Top Java Script Frameworks for 2019
 
Ember
EmberEmber
Ember
 
Play Framework: Intro & High-Level Overview
Play Framework: Intro & High-Level OverviewPlay Framework: Intro & High-Level Overview
Play Framework: Intro & High-Level Overview
 
Isomorphic JavaScript – future of the web
Isomorphic JavaScript – future of the webIsomorphic JavaScript – future of the web
Isomorphic JavaScript – future of the web
 
Immutable infrastructure:觀念與實作 (建議)
Immutable infrastructure:觀念與實作 (建議)Immutable infrastructure:觀念與實作 (建議)
Immutable infrastructure:觀念與實作 (建議)
 
Selenium presentation
Selenium presentationSelenium presentation
Selenium presentation
 
Selenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver BasicsSelenium topic 3 -Web Driver Basics
Selenium topic 3 -Web Driver Basics
 
Lift Introduction
Lift IntroductionLift Introduction
Lift Introduction
 
Managing site collections
Managing site collectionsManaging site collections
Managing site collections
 
wt mod3.pdf
wt mod3.pdfwt mod3.pdf
wt mod3.pdf
 
Building Pistachio with Sencha Touch 2 (introductory)
Building Pistachio with Sencha Touch 2 (introductory)Building Pistachio with Sencha Touch 2 (introductory)
Building Pistachio with Sencha Touch 2 (introductory)
 
What all things to consider for a good career in java
What all things to consider for a good career in javaWhat all things to consider for a good career in java
What all things to consider for a good career in java
 
Javascript libraries
Javascript librariesJavascript libraries
Javascript libraries
 
AJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD ModuleAJAX & jQuery - City University WAD Module
AJAX & jQuery - City University WAD Module
 
Frontend as a first class citizen
Frontend as a first class citizenFrontend as a first class citizen
Frontend as a first class citizen
 
A sneak peek into the similarities and differences between java and java script
A sneak peek into the similarities and differences between java and java scriptA sneak peek into the similarities and differences between java and java script
A sneak peek into the similarities and differences between java and java script
 

Más de LearnNowOnline

Windows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesWindows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesLearnNowOnline
 
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionLearnNowOnline
 
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDELearnNowOnline
 
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingAttributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingLearnNowOnline
 
Asynchronous Programming
Asynchronous ProgrammingAsynchronous Programming
Asynchronous ProgrammingLearnNowOnline
 
WPF: Working with Data
WPF: Working with DataWPF: Working with Data
WPF: Working with DataLearnNowOnline
 
Object oriented techniques
Object oriented techniquesObject oriented techniques
Object oriented techniquesLearnNowOnline
 
Object-Oriented JavaScript
Object-Oriented JavaScriptObject-Oriented JavaScript
Object-Oriented JavaScriptLearnNowOnline
 
SharePoint Document Management
SharePoint Document ManagementSharePoint Document Management
SharePoint Document ManagementLearnNowOnline
 
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathSharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathLearnNowOnline
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programmingLearnNowOnline
 
What's new in Silverlight 5
What's new in Silverlight 5What's new in Silverlight 5
What's new in Silverlight 5LearnNowOnline
 
Expression Blend Motion & Interaction Design
Expression Blend Motion & Interaction DesignExpression Blend Motion & Interaction Design
Expression Blend Motion & Interaction DesignLearnNowOnline
 

Más de LearnNowOnline (20)

Windows 8: Shapes and Geometries
Windows 8: Shapes and GeometriesWindows 8: Shapes and Geometries
Windows 8: Shapes and Geometries
 
SQL: Permissions and Data Protection
SQL: Permissions and Data ProtectionSQL: Permissions and Data Protection
SQL: Permissions and Data Protection
 
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDENew in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDE
 
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programmingAttributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programming
 
Asynchronous Programming
Asynchronous ProgrammingAsynchronous Programming
Asynchronous Programming
 
WPF: Working with Data
WPF: Working with DataWPF: Working with Data
WPF: Working with Data
 
WPF Binding
WPF BindingWPF Binding
WPF Binding
 
A tour of SQL Server
A tour of SQL ServerA tour of SQL Server
A tour of SQL Server
 
Introducing LINQ
Introducing LINQIntroducing LINQ
Introducing LINQ
 
Generics
GenericsGenerics
Generics
 
Object oriented techniques
Object oriented techniquesObject oriented techniques
Object oriented techniques
 
Object-Oriented JavaScript
Object-Oriented JavaScriptObject-Oriented JavaScript
Object-Oriented JavaScript
 
SharePoint Document Management
SharePoint Document ManagementSharePoint Document Management
SharePoint Document Management
 
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPathSharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPath
 
Web API HTTP Pipeline
Web API HTTP PipelineWeb API HTTP Pipeline
Web API HTTP Pipeline
 
Web API Basics
Web API BasicsWeb API Basics
Web API Basics
 
SQL Server: Security
SQL Server: SecuritySQL Server: Security
SQL Server: Security
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programming
 
What's new in Silverlight 5
What's new in Silverlight 5What's new in Silverlight 5
What's new in Silverlight 5
 
Expression Blend Motion & Interaction Design
Expression Blend Motion & Interaction DesignExpression Blend Motion & Interaction Design
Expression Blend Motion & Interaction Design
 

Último

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

The jQuery Library

  • 1. The jQuery Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 2. Objectives Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 3. Objectives • Understand what the jQuery library is and the benefits it has for Web development Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 4. Objectives • Understand what the jQuery library is and the benefits it has for Web development • Learn how to use jQuery and understand how it works Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 5. Objectives • Understand what the jQuery library is and the benefits it has for Web development • Learn how to use jQuery and understand how it works • See how to use selectors to create wrapped sets that methods can take action on Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 6. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 7. Agenda • jQuery for the ASP.NET Developer Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 8. Agenda • jQuery for the ASP.NET Developer • Using jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 9. Agenda • jQuery for the ASP.NET Developer • Using jQuery • Selectors, Wrapped Sets, and Chains Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 10. jQuery for the ASP.NET Developer Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 11. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 12. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 13. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 14. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types  Interpreted, when that wasn’t cool Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 15. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types  Interpreted, when that wasn’t cool  Hard to debug with poor tools Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 16. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types  Interpreted, when that wasn’t cool  Hard to debug with poor tools  Never lived up to its Java namesake Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 17. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types  Interpreted, when that wasn’t cool  Hard to debug with poor tools  Never lived up to its Java namesake  Stagnating Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 18. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types  Interpreted, when that wasn’t cool  Hard to debug with poor tools  Never lived up to its Java namesake  Stagnating • But then Web 2.0 happened Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 19. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types  Interpreted, when that wasn’t cool  Hard to debug with poor tools  Never lived up to its Java namesake  Stagnating • But then Web 2.0 happened  Requires a lot of JavaScript to implement Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 20. jQuery for the ASP.NET Developer • JavaScript had long been a second class citizen of Web development  But is a common automation feature in browsers  Lacks strong types  Interpreted, when that wasn’t cool  Hard to debug with poor tools  Never lived up to its Java namesake  Stagnating • But then Web 2.0 happened  Requires a lot of JavaScript to implement  Programmer’s solution: build libraries! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 21. jQuery Dominates Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 22. jQuery Dominates • Simple, robust JavaScript library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 23. jQuery Dominates • Simple, robust JavaScript library  Relative newcomer, introduced in 2006 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 24. jQuery Dominates • Simple, robust JavaScript library  Relative newcomer, introduced in 2006 • What is Microsoft’s story in this space? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 25. jQuery Dominates • Simple, robust JavaScript library  Relative newcomer, introduced in 2006 • What is Microsoft’s story in this space?  After all, produces widely-used ASP.NET for Web Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 26. jQuery Dominates • Simple, robust JavaScript library  Relative newcomer, introduced in 2006 • What is Microsoft’s story in this space?  After all, produces widely-used ASP.NET for Web  Now supports jQuery in favor of own library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 27. The Microsoft Ajax Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 28. The Microsoft Ajax Library • Initially released to support Ajax for Web forms Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 29. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 30. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library • Pure JavaScript, so use anywhere Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 31. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library • Pure JavaScript, so use anywhere • Created it for ASP.NET developers Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 32. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library • Pure JavaScript, so use anywhere • Created it for ASP.NET developers  Feels and acts like the .NET Framework Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 33. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library • Pure JavaScript, so use anywhere • Created it for ASP.NET developers  Feels and acts like the .NET Framework  Similar to writing C# or VB code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 34. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library • Pure JavaScript, so use anywhere • Created it for ASP.NET developers  Feels and acts like the .NET Framework  Similar to writing C# or VB code  Adds an object-oriented nature to JavaScript code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 35. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library • Pure JavaScript, so use anywhere • Created it for ASP.NET developers  Feels and acts like the .NET Framework  Similar to writing C# or VB code  Adds an object-oriented nature to JavaScript code • Minimized version is only 98KB Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 36. The Microsoft Ajax Library • Initially released to support Ajax for Web forms • Robust, relatively lightweight, general-purpose JavaScript library • Pure JavaScript, so use anywhere • Created it for ASP.NET developers  Feels and acts like the .NET Framework  Similar to writing C# or VB code  Adds an object-oriented nature to JavaScript code • Minimized version is only 98KB  Debug version is 304KB, but isn’t for production Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 37. Ajax Library Components Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 38. Ajax Library Components • Three files: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 39. Ajax Library Components • Three files:  MicrosoftAjax.js Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 40. Ajax Library Components • Three files:  MicrosoftAjax.js  MicrosoftMvcAjax.js Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 41. Ajax Library Components • Three files:  MicrosoftAjax.js  MicrosoftMvcAjax.js  MicrosoftMvcValidation.js Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 42. Ajax Library Components • Three files:  MicrosoftAjax.js  MicrosoftMvcAjax.js  MicrosoftMvcValidation.js • Supports client-side controls in the Ajax Control Toolkit Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 43. Ajax Library Components • Three files:  MicrosoftAjax.js  MicrosoftMvcAjax.js  MicrosoftMvcValidation.js • Supports client-side controls in the Ajax Control Toolkit • Everything changed in late 2010 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 44. Ajax Library Components • Three files:  MicrosoftAjax.js  MicrosoftMvcAjax.js  MicrosoftMvcValidation.js • Supports client-side controls in the Ajax Control Toolkit • Everything changed in late 2010  Embracing jQuery in favor of Ajax Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 45. Ajax Library Components • Three files:  MicrosoftAjax.js  MicrosoftMvcAjax.js  MicrosoftMvcValidation.js • Supports client-side controls in the Ajax Control Toolkit • Everything changed in late 2010  Embracing jQuery in favor of Ajax Library  Now available only as part of the Ajax Control Toolkit Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 46. Ajax Library Components • Three files:  MicrosoftAjax.js  MicrosoftMvcAjax.js  MicrosoftMvcValidation.js • Supports client-side controls in the Ajax Control Toolkit • Everything changed in late 2010  Embracing jQuery in favor of Ajax Library  Now available only as part of the Ajax Control Toolkit • The Age of jQuery has begun! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 47. The jQuery Library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 48. The jQuery Library • 3rd party, open source library by John Resig Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 49. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 50. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 51. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version  Stays focused on core features Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 52. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version  Stays focused on core features  Provides a rich plug-in model Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 53. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version  Stays focused on core features  Provides a rich plug-in model  Non-essential features kept out of core Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 54. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version  Stays focused on core features  Provides a rich plug-in model  Non-essential features kept out of core • In 2008, Microsoft announced it would include jQuery with MVC Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 55. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version  Stays focused on core features  Provides a rich plug-in model  Non-essential features kept out of core • In 2008, Microsoft announced it would include jQuery with MVC  Going forward, would include with Visual Studio Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 56. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version  Stays focused on core features  Provides a rich plug-in model  Non-essential features kept out of core • In 2008, Microsoft announced it would include jQuery with MVC  Going forward, would include with Visual Studio  Microsoft fully supports jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 57. The jQuery Library • 3rd party, open source library by John Resig • Core library is lightweight  Only 83KB in the minified version  Stays focused on core features  Provides a rich plug-in model  Non-essential features kept out of core • In 2008, Microsoft announced it would include jQuery with MVC  Going forward, would include with Visual Studio  Microsoft fully supports jQuery  MVC 2 and 3, and other project types, include jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 58. Benefits of jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 59. Benefits of jQuery • Makes using the DOM extremely easy Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 60. Benefits of jQuery • Makes using the DOM extremely easy • Benefits: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 61. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 62. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean  Handles cross-browser issues Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 63. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean  Handles cross-browser issues  Simple, clean, powerful syntax Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 64. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean  Handles cross-browser issues  Simple, clean, powerful syntax  Highly extensible Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 65. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean  Handles cross-browser issues  Simple, clean, powerful syntax  Highly extensible  Supports unobtrusive JavaScript Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 66. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean  Handles cross-browser issues  Simple, clean, powerful syntax  Highly extensible  Supports unobtrusive JavaScript  Includes many utility functions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 67. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean  Handles cross-browser issues  Simple, clean, powerful syntax  Highly extensible  Supports unobtrusive JavaScript  Includes many utility functions  Widely used Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 68. Benefits of jQuery • Makes using the DOM extremely easy • Benefits:  Lean and mean  Handles cross-browser issues  Simple, clean, powerful syntax  Highly extensible  Supports unobtrusive JavaScript  Includes many utility functions  Widely used • Makes for a strong contender as a library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 69. Which Version? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 70. Which Version? • Course is based on jQuery version 1.5 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 71. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 72. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 73. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1)  Annual major release (e.g., 1.5) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 74. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1)  Annual major release (e.g., 1.5) • Visual Studio 2010 includes version 1.4.1 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 75. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1)  Annual major release (e.g., 1.5) • Visual Studio 2010 includes version 1.4.1 • Availability of vsdoc file lags jQuery release Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 76. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1)  Annual major release (e.g., 1.5) • Visual Studio 2010 includes version 1.4.1 • Availability of vsdoc file lags jQuery release • Damian Edwards’ vsdoc File Generator utility Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 77. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1)  Annual major release (e.g., 1.5) • Visual Studio 2010 includes version 1.4.1 • Availability of vsdoc file lags jQuery release • Damian Edwards’ vsdoc File Generator utility  Blog is at https://damianedwards.wordpress.com Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 78. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1)  Annual major release (e.g., 1.5) • Visual Studio 2010 includes version 1.4.1 • Availability of vsdoc file lags jQuery release • Damian Edwards’ vsdoc File Generator utility  Blog is at https://damianedwards.wordpress.com  Grab latest version there Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 79. Which Version? • Course is based on jQuery version 1.5  Good chance that new versions are available  Monthly minor releases (e.g., 1.5.1)  Annual major release (e.g., 1.5) • Visual Studio 2010 includes version 1.4.1 • Availability of vsdoc file lags jQuery release • Damian Edwards’ vsdoc File Generator utility  Blog is at https://damianedwards.wordpress.com  Grab latest version there  Or use the utility to build your own Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 80. Progressive Enhancement Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 81. Progressive Enhancement • Problem: older browsers don’t support JavaScript Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 82. Progressive Enhancement • Problem: older browsers don’t support JavaScript  And other users can turn it off Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 83. Progressive Enhancement • Problem: older browsers don’t support JavaScript  And other users can turn it off • Page must work in a minimal fashion for all Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 84. Progressive Enhancement • Problem: older browsers don’t support JavaScript  And other users can turn it off • Page must work in a minimal fashion for all • Historically, two options: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 85. Progressive Enhancement • Problem: older browsers don’t support JavaScript  And other users can turn it off • Page must work in a minimal fashion for all • Historically, two options:  Graceful degradation Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 86. Progressive Enhancement • Problem: older browsers don’t support JavaScript  And other users can turn it off • Page must work in a minimal fashion for all • Historically, two options:  Graceful degradation  Progressive enhancement Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 87. Progressive Enhancement • Problem: older browsers don’t support JavaScript  And other users can turn it off • Page must work in a minimal fashion for all • Historically, two options:  Graceful degradation  Progressive enhancement • Key assumption of graceful degradation flawed Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 88. Progressive Enhancement • Problem: older browsers don’t support JavaScript  And other users can turn it off • Page must work in a minimal fashion for all • Historically, two options:  Graceful degradation  Progressive enhancement • Key assumption of graceful degradation flawed • Unless have control over browsers, always design with progressive enhancement Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 89. Delivering jQuery to the Browser Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 90. Delivering jQuery to the Browser • Can always download latest version for development at jquery.com Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 91. Delivering jQuery to the Browser • Can always download latest version for development at jquery.com • Include in Web pages using <script> element Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 92. Delivering jQuery to the Browser • Can always download latest version for development at jquery.com • Include in Web pages using <script> element  Implemented as regular .js file Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 93. Delivering jQuery to the Browser • Can always download latest version for development at jquery.com • Include in Web pages using <script> element  Implemented as regular .js file  <script src="/Scripts/jquery-1.5.min.js" type="text/javascript"></script> Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 94. Delivering jQuery to the Browser • Can always download latest version for development at jquery.com • Include in Web pages using <script> element  Implemented as regular .js file  <script src="/Scripts/jquery-1.5.min.js" type="text/javascript"></script> • But where do you host it? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 95. Hosted On Your Site Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 96. Hosted On Your Site • When you use a relative path, jQuery file has to be in that location…of course! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 97. Hosted On Your Site • When you use a relative path, jQuery file has to be in that location…of course! • Drawbacks Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 98. Hosted On Your Site • When you use a relative path, jQuery file has to be in that location…of course! • Drawbacks  You must provide bandwidth Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 99. Hosted On Your Site • When you use a relative path, jQuery file has to be in that location…of course! • Drawbacks  You must provide bandwidth  Browser caches the file but only for your site Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 100. Hosted On Your Site • When you use a relative path, jQuery file has to be in that location…of course! • Drawbacks  You must provide bandwidth  Browser caches the file but only for your site  May be significant network latency Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 101. Use a Content Delivery Network Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 102. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 103. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content • Biggest are Google and Microsoft Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 104. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content • Biggest are Google and Microsoft • Benefits Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 105. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content • Biggest are Google and Microsoft • Benefits  CDN provides the bandwidth Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 106. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content • Biggest are Google and Microsoft • Benefits  CDN provides the bandwidth  Browser can cache files for use across sites Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 107. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content • Biggest are Google and Microsoft • Benefits  CDN provides the bandwidth  Browser can cache files for use across sites  CDN is geographically dispersed, to reduce latency Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 108. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content • Biggest are Google and Microsoft • Benefits  CDN provides the bandwidth  Browser can cache files for use across sites  CDN is geographically dispersed, to reduce latency  Take advantage of CDN’s network Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 109. Use a Content Delivery Network • Geographically distributed set of servers that host and deliver content • Biggest are Google and Microsoft • Benefits  CDN provides the bandwidth  Browser can cache files for use across sites  CDN is geographically dispersed, to reduce latency  Take advantage of CDN’s network • Both CDNs host latest and some prior versions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 110. Using a CDN Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 111. Using a CDN • Microsoft Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 112. Using a CDN • Microsoft  <script src="http://ajax.aspnetcdn.com/ajax/ jQuery/jquery-1.5.min.js" type="text/ javascript"></script> Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 113. Using a CDN • Microsoft  <script src="http://ajax.aspnetcdn.com/ajax/ jQuery/jquery-1.5.min.js" type="text/ javascript"></script> • Google Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 114. Using a CDN • Microsoft  <script src="http://ajax.aspnetcdn.com/ajax/ jQuery/jquery-1.5.min.js" type="text/ javascript"></script> • Google  <script src="https://ajax.googleapis.com/ajax/ libs/ jquery/1.5.0/jquery.min.js" type="text/ javascript"></script> Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 115. Using a CDN • Microsoft  <script src="http://ajax.aspnetcdn.com/ajax/ jQuery/jquery-1.5.min.js" type="text/ javascript"></script> • Google  <script src="https://ajax.googleapis.com/ajax/ libs/ jquery/1.5.0/jquery.min.js" type="text/ javascript"></script>  Also can use a google.load() call Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 116. Using a CDN • Microsoft  <script src="http://ajax.aspnetcdn.com/ajax/ jQuery/jquery-1.5.min.js" type="text/ javascript"></script> • Google  <script src="https://ajax.googleapis.com/ajax/ libs/ jquery/1.5.0/jquery.min.js" type="text/ javascript"></script>  Also can use a google.load() call • Files hosted differ Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 117. Using a CDN • Microsoft  <script src="http://ajax.aspnetcdn.com/ajax/ jQuery/jquery-1.5.min.js" type="text/ javascript"></script> • Google  <script src="https://ajax.googleapis.com/ajax/ libs/ jquery/1.5.0/jquery.min.js" type="text/ javascript"></script>  Also can use a google.load() call • Files hosted differ • Don’t always immediately upload latest version Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 118. Compressed and Uncompressed Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 119. Compressed and Uncompressed • Two versions of the core library are available Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 120. Compressed and Uncompressed • Two versions of the core library are available Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 121. Compressed and Uncompressed • Two versions of the core library are available  Can also download earlier versions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 122. Compressed and Uncompressed • Two versions of the core library are available  Can also download earlier versions  Development version with comments and whitespace Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 123. Compressed and Uncompressed • Two versions of the core library are available  Can also download earlier versions  Development version with comments and whitespace  Production version that is minified Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 124. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 125. Agenda • jQuery for the ASP.NET Developer Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 126. Agenda • jQuery for the ASP.NET Developer • Using jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 127. Agenda • jQuery for the ASP.NET Developer • Using jQuery • Selectors, Wrapped Sets, and Chains Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 128. Using jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 129. Using jQuery • If you know basics of JavaScript, learning basic jQuery is easy Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 130. Using jQuery • If you know basics of JavaScript, learning basic jQuery is easy • Start by looking at a couple of simple examples Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 131. A jQuery Statement Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 132. A jQuery Statement jQuery('p').text('jQuery is cool!'); Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 133. A jQuery Statement jQuery('p').text('jQuery is cool!'); jQuery function • jQuery is entrée to the library Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 134. A jQuery Statement jQuery('p').text('jQuery is cool!'); jQuery Selector function • jQuery is entrée to the library • Selector selects one or more elements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 135. A jQuery Statement jQuery('p').text('jQuery is cool!'); jQuery Selector Method function • jQuery is entrée to the library • Selector selects one or more elements • Method is a JavaScript function that takes action Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 136. A jQuery Statement jQuery('p').text('jQuery is cool!'); jQuery Selector Method Parameter(s) function • jQuery is entrée to the library • Selector selects one or more elements • Method is a JavaScript function that takes action • Optional parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 137. The jQuery Function Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 138. The jQuery Function • Start all jQuery statements with this Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 139. The jQuery Function • Start all jQuery statements with this • Sort of a namespace Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 140. The jQuery Function • Start all jQuery statements with this • Sort of a namespace  Almost eliminates chance of naming conflicts Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 141. The jQuery Function • Start all jQuery statements with this • Sort of a namespace  Almost eliminates chance of naming conflicts  Sometimes called the jQuery Namespace Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 142. The jQuery Function • Start all jQuery statements with this • Sort of a namespace  Almost eliminates chance of naming conflicts  Sometimes called the jQuery Namespace • Could create your own custom jQuery function Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 143. The jQuery Function • Start all jQuery statements with this • Sort of a namespace  Almost eliminates chance of naming conflicts  Sometimes called the jQuery Namespace • Could create your own custom jQuery function • Typically used a lot in a page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 144. The jQuery Function • Start all jQuery statements with this • Sort of a namespace  Almost eliminates chance of naming conflicts  Sometimes called the jQuery Namespace • Could create your own custom jQuery function • Typically used a lot in a page  Alias: $ Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 145. The jQuery Function • Start all jQuery statements with this • Sort of a namespace  Almost eliminates chance of naming conflicts  Sometimes called the jQuery Namespace • Could create your own custom jQuery function • Typically used a lot in a page  Alias: $ • Equivalent statements: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 146. The jQuery Function • Start all jQuery statements with this • Sort of a namespace  Almost eliminates chance of naming conflicts  Sometimes called the jQuery Namespace • Could create your own custom jQuery function • Typically used a lot in a page  Alias: $ • Equivalent statements:  jQuery('p').text('jQuery is cool!'); $('p').text('jQuery is cool!'); Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 147. Waiting for the Page to Load Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 148. Waiting for the Page to Load • Samples have shown script blocks that wire up events and change content Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 149. Waiting for the Page to Load • Samples have shown script blocks that wire up events and change content  Placed at the end of the Web page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 150. Waiting for the Page to Load • Samples have shown script blocks that wire up events and change content  Placed at the end of the Web page  DOM had to already be loaded Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 151. Waiting for the Page to Load • Samples have shown script blocks that wire up events and change content  Placed at the end of the Web page  DOM had to already be loaded  Otherwise get null references or errors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 152. Waiting for the Page to Load • Samples have shown script blocks that wire up events and change content  Placed at the end of the Web page  DOM had to already be loaded  Otherwise get null references or errors • Ideally, put all code in head section under separation of functionality principle Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 153. Waiting for the Page to Load • Samples have shown script blocks that wire up events and change content  Placed at the end of the Web page  DOM had to already be loaded  Otherwise get null references or errors • Ideally, put all code in head section under separation of functionality principle  But then runs before DOM is loaded Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 154. Agenda Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 155. Agenda • jQuery for the ASP.NET Developer Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 156. Agenda • jQuery for the ASP.NET Developer • Using jQuery Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 157. Agenda • jQuery for the ASP.NET Developer • Using jQuery • Selectors, Wrapped Sets, and Chains Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 158. Selectors, Wrapped Sets, and Chains Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 159. Selectors, Wrapped Sets, and Chains • jQuery lets you build powerful statements Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 160. Selectors, Wrapped Sets, and Chains • jQuery lets you build powerful statements • Selects elements, take action Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 161. Selectors, Wrapped Sets, and Chains • jQuery lets you build powerful statements • Selects elements, take action • Now it’s time to explore how jQuery does this Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 162. Selectors, Wrapped Sets, and Chains • jQuery lets you build powerful statements • Selects elements, take action • Now it’s time to explore how jQuery does this • jQuery Selector Test Page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 163. Using jQuery Selectors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 164. Using jQuery Selectors • Selector is a string that identifies elements to match Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 165. Using jQuery Selectors • Selector is a string that identifies elements to match  Add to wrapped set Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 166. Using jQuery Selectors • Selector is a string that identifies elements to match  Add to wrapped set • Sometimes simple, like all images on the page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 167. Using jQuery Selectors • Selector is a string that identifies elements to match  Add to wrapped set • Sometimes simple, like all images on the page • Sometimes complex, based on content and structure of the page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 168. Using jQuery Selectors • Selector is a string that identifies elements to match  Add to wrapped set • Sometimes simple, like all images on the page • Sometimes complex, based on content and structure of the page • Selector syntax is based on CSS 3 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 169. Using jQuery Selectors • Selector is a string that identifies elements to match  Add to wrapped set • Sometimes simple, like all images on the page • Sometimes complex, based on content and structure of the page • Selector syntax is based on CSS 3  Subset and superset Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 170. Using jQuery Selectors • Selector is a string that identifies elements to match  Add to wrapped set • Sometimes simple, like all images on the page • Sometimes complex, based on content and structure of the page • Selector syntax is based on CSS 3  Subset and superset  Doesn’t depend on browser’s support for CSS 3 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 171. Simple Selectors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 172. Simple Selectors • Easiest way to define a selector is to use the HTML element name Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 173. Simple Selectors • Easiest way to define a selector is to use the HTML element name  img, tr, a, input, etc. Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 174. Simple Selectors • Easiest way to define a selector is to use the HTML element name  img, tr, a, input, etc.  Selects all elements of that type Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 175. Attribute Value Selectors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 176. Attribute Value Selectors Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 177. Selector Description Attribute Value Selectors elem[attr |= value] The attribute value is either equal to the specified value or starts with that value followed by a hypen. This is referred to as a prefix selector. elem[attr *= value] The attribute value contains the specified value. elem[attr ~= value] The attribute value contains the specified value as a word delimited by spaces. In other words, The selector matches if the specified value is exactly elem[attr $= value] equal to any of the ends withthe attribute value. The attribute value words in the specified value. This is referred to as a word selector. elem[attr != value] The element either doesn’t have the specified attribute or the attribute value doesn’t match the specified value. elem[attr ^= value] The attribute value begins with the specified value. Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 178. jQuery Filters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 179. jQuery Filters • So far, techniques are too blunt a tool Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 180. jQuery Filters • So far, techniques are too blunt a tool  e.g., no easy way to select alternating rows in a table Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 181. jQuery Filters • So far, techniques are too blunt a tool  e.g., no easy way to select alternating rows in a table • Need a filter Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 182. jQuery Filters • So far, techniques are too blunt a tool  e.g., no easy way to select alternating rows in a table • Need a filter  Takes selected elements and filters them down further Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 183. jQuery Filters • So far, techniques are too blunt a tool  e.g., no easy way to select alternating rows in a table • Need a filter  Takes selected elements and filters them down further  Based on criteria you select Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 184. Other Filters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 185. Other Filters • Filters provide power and finesse! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 186. Other Filters • Filters provide power and finesse! • There’s more: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 187. Other Filters • Filters provide power and finesse! • There’s more:  Content filters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 188. Other Filters • Filters provide power and finesse! • There’s more:  Content filters  Visibility filters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 189. Other Filters • Filters provide power and finesse! • There’s more:  Content filters  Visibility filters  Hierarchy filters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 190. Other Filters • Filters provide power and finesse! • There’s more:  Content filters  Visibility filters  Hierarchy filters  Child filters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 191. Other Filters • Filters provide power and finesse! • There’s more:  Content filters  Visibility filters  Hierarchy filters  Child filters • nth-child filter is an anomaly: one-based Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 192. Wrapped Sets and Chaining Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 193. Wrapped Sets and Chaining • Selectors produce wrapped sets Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 194. Wrapped Sets and Chaining • Selectors produce wrapped sets  Wrapper methods can perform actions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 195. Wrapped Sets and Chaining • Selectors produce wrapped sets  Wrapper methods can perform actions  No need to write tedious looping code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 196. Wrapped Sets and Chaining • Selectors produce wrapped sets  Wrapper methods can perform actions  No need to write tedious looping code  Wrapper methods do that internally for you Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 197. Wrapped Sets and Chaining • Selectors produce wrapped sets  Wrapper methods can perform actions  No need to write tedious looping code  Wrapper methods do that internally for you • Two wrapper methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 198. Wrapped Sets and Chaining • Selectors produce wrapped sets  Wrapper methods can perform actions  No need to write tedious looping code  Wrapper methods do that internally for you • Two wrapper methods  $('img, input[type = 'text']', '#sampleHTML').addClass('wrappedSet'); Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 199. Wrapped Sets and Chaining • Selectors produce wrapped sets  Wrapper methods can perform actions  No need to write tedious looping code  Wrapper methods do that internally for you • Two wrapper methods  $('img, input[type = 'text']', '#sampleHTML').addClass('wrappedSet'); • Methods to manage the wrapped set Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 200. Wrapped Sets and Chaining • Selectors produce wrapped sets  Wrapper methods can perform actions  No need to write tedious looping code  Wrapper methods do that internally for you • Two wrapper methods  $('img, input[type = 'text']', '#sampleHTML').addClass('wrappedSet'); • Methods to manage the wrapped set  var wrappedSet = $(selector, '#sampleHTML').addClass('wrappedSet'); $('#elementCount').html(wrappedSet.length); Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 201. Learn More! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
  • 202. Learn More! • This is an excerpt from a larger course. Visit www.learnnowonline.com for the full details! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company

Notas del editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. \n
  47. \n
  48. \n
  49. \n
  50. \n
  51. \n
  52. \n
  53. \n
  54. \n
  55. \n
  56. \n
  57. \n
  58. \n
  59. \n
  60. \n
  61. \n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n
  74. \n
  75. \n
  76. \n
  77. \n
  78. \n
  79. \n
  80. \n
  81. \n
  82. \n
  83. \n
  84. \n
  85. \n
  86. \n
  87. \n
  88. \n
  89. \n
  90. \n
  91. \n
  92. \n
  93. \n
  94. \n
  95. \n
  96. \n
  97. \n
  98. \n
  99. \n
  100. \n
  101. \n
  102. \n
  103. \n
  104. \n
  105. \n
  106. \n
  107. \n
  108. \n
  109. \n
  110. \n
  111. \n
  112. DEMO: rest of section\n
  113. DEMO: rest of section\n
  114. \n
  115. \n
  116. \n
  117. \n
  118. \n
  119. \n
  120. \n
  121. \n
  122. \n
  123. \n
  124. \n
  125. \n
  126. \n
  127. \n
  128. \n
  129. \n
  130. \n
  131. \n
  132. \n
  133. \n
  134. \n
  135. \n
  136. DEMO: rest of section\n
  137. DEMO: rest of section\n
  138. DEMO: rest of section\n
  139. DEMO: rest of section\n
  140. DEMO: rest of section\n
  141. DEMO: rest of section\n
  142. \n
  143. \n
  144. \n
  145. DEMO: all of jQuery Selector Test Page section\n
  146. DEMO: all of jQuery Selector Test Page section\n
  147. DEMO: all of jQuery Selector Test Page section\n
  148. DEMO: all of jQuery Selector Test Page section\n
  149. \n
  150. \n
  151. \n
  152. \n
  153. \n
  154. \n
  155. \n
  156. DEMO: rest of section, Selecting by id and class Attributes, More Complex Selectors, Attribute Selectors, \n
  157. DEMO: rest of section, Selecting by id and class Attributes, More Complex Selectors, Attribute Selectors, \n
  158. DEMO: rest of section, Selecting by id and class Attributes, More Complex Selectors, Attribute Selectors, \n
  159. DEMO: rest of section, Selector Context\n
  160. DEMO: rest of section, Selector Context\n
  161. DEMO: rest of section, Basic Filters, Form Filters\n
  162. DEMO: rest of section, Basic Filters, Form Filters\n
  163. DEMO: rest of section, Basic Filters, Form Filters\n
  164. DEMO: rest of section, Basic Filters, Form Filters\n
  165. DEMO: rest of section, Basic Filters, Form Filters\n
  166. \n
  167. \n
  168. \n
  169. \n
  170. \n
  171. \n
  172. \n
  173. \n
  174. \n
  175. \n
  176. \n
  177. \n
  178. \n
  179. \n
  180. \n
  181. DEMO: rest of section\n