concept number in category jQuery

This is an excerpt from Manning's book jQuery in Action, Third Edition.
Today it’s common practice to serve files like images and libraries through a content delivery network to improve the performance of a website. A CDN is a distributed system of servers created to offer content with high availability and performance. You might be aware that browsers can download a fixed set of contents, usually from four to eight files, from a host at the same time. Because the files served using a CDN are provided from a different host, you can speed up the whole loading process, increasing the number of files downloaded at a time. Besides, a lot of today’s websites use CDNs, so there’s a higher probability that the required library is already in the user’s browser cache. Employing a CDN to load jQuery doesn’t guarantee better performance in every situation because there are many factors that come into play. Our advice is to test which configuration best suits your specific case.
Up to this point, we’ve only discussed how to test numbers in JavaScript. But the methods you’ve learned can be used to test other data types such as Array, Object, String, and so on. In addition, although QUnit is useful for testing any JavaScript code, this book is still about jQuery. Therefore, let’s see some examples using all the methods described so far applied to code written using jQuery methods and utility functions:
assert.equal($.trim(' '), '', 'Trimming a spaces-only string returns an empty string'); assert.strictEqual($('input:checked').length, $('input').filter(':checked').length, 'Filtering elements in advance or later produce the same number of elements'); assert.notEqual($('input:checked'), $('input').filter(':checked'), 'Two jQuery objects are different unless they point to the same memory address'); assert.notStrictEqual(new Array(1, 2, 3), [1, 2, 3], 'Two arrays are different unless they point to the same memory address');As you can see, testing different data types is really no different than testing Numbers. Let’s now move on to the other assertion methods.
When creating a test, it’s a best practice to set the number of assertions you expect to be executed. This can be done by using the expect() method of the assert parameter described when discussing QUnit.test(). If you deal with synchronous code only, the use of expect() might seem useless because you might think that the only way an assertion could not be executed is if an error, caught by the framework, occurs. This objection is valid until you take into account asynchronous code. For the moment, trust us and use expect().

This is an excerpt from Manning's book jQuery UI in Action.
This book assumes that you have basic knowledge of CSS, JavaScript, and jQuery. If you’re not an expert don’t despair—when intermediate- and advanced-level concepts are brought up, they’re explained. If you’re finding yourself a bit overwhelmed, appendix A discusses resources for getting up to speed. On the flip side, if you’re an expert don’t despair either. We’ll build a number of real-world examples and discuss advanced aspects of the library throughout the book.
Like dates, numbers are another common piece of information to collect from users. Normal text inputs offer little control over the data that users input. What’s the maximum value allowed? The minimum? How do you handle more complex values like decimals and currency?
The spinner widget solves these problems by providing an easy way for users to input numbers in any format. You’ll use the spinner to build the last field in your form: an input to collect the number of days the user has been sick.
test( "max, string", function() { expect( 3 ); var element = $( "#spin" ) .val( 1000 ) .spinner({ max: "$100.00", numberFormat: "C", culture: "en" }); equal( element.val(), "$1,000.00", "value not constrained on init" ); equal( element.spinner( "option", "max" ), 100, "option converted to number" ); element.spinner( "value", 1000 ); equal( element.val(), "$100.00", "max constrained in value method" ); });

This is an excerpt from Manning's book Extending jQuery.
Hundreds of jQuery plugins are available on the web to improve your web page experience. The numbers are a testament to the power and simplicity of jQuery itself, and the developers’ foresight in providing the extensions points that allow it to be enhanced. I can’t cover all of these plugins in this book, but the following sections offer a brief sampling to show the extent of the possibilities.
The built-in rules provided by the plugin include required for mandatory fields, digits or number for numeric input, min and max for minimum and maximum values, email and url for email address and URL formats, and equalTo for field comparisons. You can combine these for a single field to create more complex validations, such as a mandatory numeric field with a maximum value.