JavaScript.com: The Definitive JavaScript Resource
Enter a number and JavaScript can instantly tell you if it is a prime number or not. I wish I had this little gem to help me in my math classes!
Enter your vehicle's quarter mile time (assuming you know it) and vehicle weight and this JavaScript program will display your car's estimated horsepower.
For all you photography enthusiasts out there, this script makes it a breeze to determine the field depth and amount that will be in focus in a photograph. Includes other measurements such as nearest and furthest points of focus, too.
A handy calculator that will calculate both your Western and Chinese birth Signs. Enter the day, month, and year of your birth - or your date's - and instantly figure out if you (or they) are a Gemini born in the Year of the Ox, or a Year of the Rabbit/Cat Aquarius. The calculator will also return customizable funny messages if the user inputs an impossible date (ie, February 30 or December 32).
This script uses unobtrusive JavaScript to implement "input masks." The maximum field length is automatically limited to the length of the mask. The characters that are entered into the fields are constrained, and separators are automatically added. (No actual validation is done. Check our site for validation scripts.)
• Attention JavaScript Coders!
Want some recognition for your scripts? Submit them to us and they may be featured here and on JavaScript Source! |