Example JavaScript and Ajax Code
The following sites contain many examples of JavaScript and Ajax code that you can cut and paste into your web pages.
- dhtmlgoodies.com http://www.dhtmlgoodies.com
A nicely laid-out site from Alf Magne Kalleland
- The JavaScript Source http://javascript.internet.com
EarthWeb's JavaScript resource, with over two thousand scripts and counting
- Dynamic Drive http://www.dynamicdrive.com
Another very nicely laid-out site, with a CSS library as well
- JS Made Easy.com http://www.jsmadeeasy.com
Code examples, tutorials, and JavaScript cheat sheets
- Webmonkey http://www.webmonkey.com/webmonkey/reference/javascript_code_library
An oldie but a goodie, close to my heart
Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.