Product Overview
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks
“Take control with the ultimate JavaScript toolkit”
Among the 101 Tips, Tricks & Hacks you’ll learn how-to:
- Create a slick yet accessible drop-down menu system
- Take control of your web pages with the DOM
- Validate forms in real time using regular expressions
- Optimize your code so that it runs faster
- Manage style sheets and modify styles on-the-fly
- Produce sophisticated drag-and-drop interaction
- Enhance your site with slick, animated transitions
- Create AJAX applications with the XMLHttpRequest object
…and much more. Far too many things to mention here!
The Authors:
- Are renowned experts in JavaScript
- Regularly speak at usergroup meetings and conferences
- Together, have more than 15 years of experience in web development
ebook only
Instant Download!
This title available in Adobe PDF, Kindle (mobi) and ePub (IOS) formats
Overview
The JavaScript Anthology is ‘the’ cookbook of modern JavaScript.
Bobby van der Sluis
BobbyvanderSluis.com/
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks provides you with tried and tested real-world solutions to your web scripting problems.
Following the same format as SitePoint’s hugely popular The CSS Anthology, this is the most complete question-and-answer book on JavaScript. It’s a collection of over 100 thoroughly-tested, customizable and elegant solutions that will show you how to add usable and accessible interactivity to your site: from slick drop-down menus, to style sheet switchers, to AJAX applications, and much more.
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks also includes download access to all of the best practice code samples used throughout the book -- plug them right into your own web sites without any retyping!
What will you learn?
Ready-To-Use Code

This interactive color slider control is just one of dozens of ready-to-use code examples and DHTML widgets included.
• Try the Demo
This book will show you how to:
- Search and replace text using regular expressions.
- Navigate the DOM and create, delete, and move elements on the page.
- Validate email addresses on your web forms.
- Print inline error messages when validating forms.
- Minimize the problems associated with popup windows.
- Make a slideshow of images.
- Ensure your code works on different browsers.
- Make a style sheet switcher.
- Build an accessible drop-down menu system.
- Construct drag 'n' drop interfaces using AJAX.
- Use JavaScript and Flash together.
- Make your JavaScript accessible: an in-depth look at minimizing the accessibility problems associated with using JavaScript.
- Use the XMLHttpRequest object to build AJAX applications.
- Optimize your JavaScript code so that it runs faster.
- And much more!
View the Table of Contents
Who Should Read This Book?
If you're using JavaScript on your projects right now, and you want to do things faster and better, this book is for you. The JavaScript Anthology will save you the frustration of hunting down code on the Web only to find that it isn't customizable, and doesn't represent best practice or work across different browsers.
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks contains thoroughly tested, cross-browser code that you can easily modify to suit your own needs.
The book is written in the usual SitePoint style: it’s clear and fun to read, with plenty of example code that you can apply immediately to your own web sites. Plus, it’s super-easy to navigate the book to find exactly what you want thanks to its cookbook approach and professionally-produced index. It’s the perfect reference book.
There’s no need to re-type any of the code in the book. As always, customers receive instant download access to all the files used in the book, so you can apply them immediately to your own projects.
No-risk Money-back Guarantee
Of course we’re so confident that you’ll treasure this book for years to come that we’re happy, as always, for you to try it risk-free for 30 days. If you purchase a copy of The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks and you think it fails to be everything you wanted, we would like you to have your money back.
Simply contact us and we will see to it that you receive a prompt and courteous refund of the full purchase price.
What could be fairer than this?
How To Order This Book

‘The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks’ is provided as a download in Adobe PDF, Amazon MOBI and ePUB formats, so you can begin reading it within minutes of making your purchase on almost any device you own.
And of course, it's so easy to carry a whole library of PDFs with you (on a laptop or pen drive) that you'll never need to be caught without a solution to a problem again.
This title is not available in hard copy, printed format.
Instant Download!
The Digital ePack for this book contains three formats (Adobe PDF, Kindle's MOBI and ePUB, which you are welcome to use on any device you own.
All credit card transactions are processed by WorldPay.
Please direct all questions to our Customer Support Department.
Our promise to you... Order direct from sitepoint.com and receive:
- The very latest editions of all our books
- Exclusive offers only available to direct customers
- Lightning-fast shipping world-wide
- 30 day money-back guarantee



