Professional jQuery

By Rob Larsen

This booklet covers jQuery together with a developer-level advent and an in-depth inspect a number of the extra complicated good points. The booklet specializes in positive factors on hand as of jQuery 1.7.1. but additionally attempts to include characteristic help in older models of the library anyplace it's relevant.

The first few chapters may help you put up a improvement atmosphere and assessment vital JavaScript ideas. specific insurance includes:

  • functions that make up the library and usages of the middle jQuery functions
  • in-depth to pick and control HTML parts with jQuery
  • the cross-browser skill to bind and deal with browser events
  • Ajax
  • shortcuts jQuery deals for animating elements on your internet purposes together with relocating, fading, toggling, and resizing elements
  • jQuery UI, that's an linked person interface library for jQuery and comprises issues similar to widgets, results, animations, and interactions
  • additional jQuery UI beneficial properties together with relocating, sorting, resizing, and choice components with a mouse
  • techniques, most sensible practices, and styles for you to practice on your code to make it extra effective, maintainable, and clear
  • jQuery Template plugin
  • authoring jQuery plugins.
  • jQuery Deferred Object
  • unit trying out and element of the categorical unit checking out framework created through and utilized by the jQuery undertaking itself, QUnit.

If you will have adventure with HTML, CSS, and JavaScript, this e-book is for you. For current jQuery clients, it is going to extend your jQuery wisdom via concentrating on the middle library with the good thing about robust middle JavaScript services in lots of of the teachings. yet this publication isn't geared toward newbies. For these wanting to begin with the fundamentals of HTML, CSS, and JavaScript/jQuery development, Beginning JavaScript and CSS improvement with jQuery through Richard York will probably assist you more.

Show description

Quick preview of Professional jQuery PDF

Show sample text content

Contains($(“head”)[0], $(“title”)[0]); // The jQuery wrapper is array-like, in an effort to get the connection with the particular point, you’ll have to use the sq. brackets to retrieve the aspect references. The name tag is often a baby of the pinnacle tag, and as a result returns actual. Checking for home windows examine the location have been you may have an iframe. in a single of your operations you might have considered trying to differentiate among that iframe and the browser window. to do that use the . isWindow() process: to be had for obtain on Wrox.

Each() is zero-based and accepts arguments: the gathering to iterate over and a callback functionality. The callback functionality accepts the arguments: the index at present operated on and the point price. the subsequent code illustrates utilizing $. each() to iterate over the participants of an easy array: c03. indd forty six 22/03/12 8:38 AM Understanding the constitution of a jQuery Script on hand for obtain on Wrox. com ❘ forty seven