Beginning jQuery by Jack Franklin

By Jack Franklin

Beginning jQuery is your step by step consultant to studying the jQuery library. jQuery is the most well-liked JavaScript library within the net developer's toolkit. Jack Franklin takes you from the fundamentals of having you all started with jQuery, all through to extending jQuery by means of writing your personal plug-ins. you will discover top practices you could persist with, how one can keep away from universal error, and you may know about such a lot of of the issues that jQuery has to supply, together with how one can:

  • Use jQuery's strong instruments to dynamically replace content material in your website, together with DOM manipulation.
  • Extend jQuery's functions via writing your individual plugins on most sensible of the framework.
  • Animate parts and construct your individual jQuery slider.
  • Employ top practices and steer clear of universal blunders made via newcomers.

JavaScript is a strong language yet each internet developer needs to navigate the tough matters round cross-browser inconsistencies. Beginning jQuery teaches you the way to take advantage of jQuery to prevent spending some time solving those browser insects - letting you think about what rather concerns to you. all through Beginning jQuery, you will discover how expressive but concise jQuery's code is and what kind of faster and effective you could increase with jQuery!

Show description

Read or Download Beginning jQuery PDF

Similar javascript books

Building Single-page Web Apps with Meteor

Approximately This Book

Create an entire internet weblog from frontend to backend that makes use of merely JavaScript
Understand how internet 2. zero is made via robust browser-based applications
Step-by-step instructional that may express you ways quickly, complicated internet purposes should be built
Who This booklet Is For

If you're a net developer with uncomplicated wisdom of JavaScript and need to tackle net 2. zero, construct real-time functions, or just are looking to write a whole software utilizing purely JavaScript and HTML/CSS, this can be the booklet for you.

This booklet is predicated on Meteor 1. zero.

JavaScript (5th Edition) (The Web Technologies Series)

Now in its 5th variation, JAVASCRIPT publications starting programmers via internet software improvement utilizing the JavaScript programming language. As with past versions of this e-book, Don Gosselin introduces key internet authoring recommendations with a robust specialize in software. A real-world undertaking, just like what scholars could come upon in a qualified environment, is built all through every one bankruptcy.

JavaScript & jQuery: The Missing Manual, 2nd Edition

JavaScript permits you to supercharge your HTML with animation, interactivity, and visible effects-but many net designers locate the language difficult to profit. This jargon-free advisor covers JavaScript fundamentals and indicates you the way to save lots of effort and time with the jQuery library of prewritten JavaScript code. you will soon be construction web content that think and act like computer courses, with no need to do a lot programming.

Javascript Unlocked

Increase your code maintainability, functionality, and safeguard via functional specialist insights and liberate the total power of JavaScriptAbout This BookImprove your JavaScript code for larger maintainability and performanceDiscover tips to enforce scalable software structure with JavaScriptLearn to exploit JavaScript in the back of the browser, together with its command-line instruments, computing device apps, and local cellular appsWho This ebook Is ForJavaScript Unlocked is for these JS builders who are looking to see simply how a long way they could push their favorite language via sensible perception and methods.

Additional info for Beginning jQuery

Sample text

Because the page isn’t fully loaded at the time your JavaScript is run, the browser hasn’t completed constructing the DOM, which means as far as the DOM is concerned, “body” doesn’t exist when your JavaScript runs. You have two options here: u Include your JavaScript at the bottom of the page, just before the closing . This means it’s run after the DOM is loaded. u Tell your JavaScript not to execute until the DOM is ready. In practice, it’s better to include JavaScript at the bottom so that it doesn’t delay the content loading.

And of course, this selector matches the html and body elements. You can also use the pseudo-class :not, much like you could use :eq, but as I explained earlier, I find using the method preferable to the pseudo-class (and it’s easier to read), so I’ll stick with it for the rest of this book. There is, however, a much better way to do what you want, and that’s parentsUntil(). With parentsUntil(), your code is much simpler. Remember, parentsUntil gets all elements up to but not includingg the one your selector matches.

If you click Download only to see a large amount of code, but nothing downloads, you should right-click and select Save Target As. There are two compression-level options listed above the Download button: u Production (32KB), Minified and Gzipped u Development (252KB), Uncompressed Code 17 CHAPTER 2 N THE BASICS OF JQUERY Unless you want to study the jQuery source in detail for every project that you use jQuery, always pick the Production version. This code has been run through a minifier, r a program that compresses JavaScript files into smaller versions.

Download PDF sample

Rated 4.20 of 5 – based on 49 votes

About the Author

admin