• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
JavaScriptSource

JavaScriptSource

Search 5,000+ Free JavaScript Snippets

  • Home
  • Browse Snippets
    • Addon
    • Ajax
    • Buttons
    • Cookies
    • CSS
    • Featured
    • Forms
    • Games
    • Generators
    • Image Effects
    • Math Related
    • Miscellaneous
    • Multimedia
    • Navigation
    • Page Details
    • Passwords
    • Text Effects
    • Time & Date
    • User Details

getXML

getXML

Obtain the contents of an XML element and convert it to text. This script is great for using with Ajax-type applications, when it’s necessary to send back the contents of an element to the server without knowing what’s there.

Addon

Hexadecimal Color Wheel

Hexadecimal Color Wheel

A dynamic color wheel displaying 4096 colors in a chromatic scale utilizing cross browser mouse event capture from a layer to display the hexadecimal codes of each color. Easily find that elusive color code you were looking for and learn how to manage layers and mouse events.

Page Details

Robots Text Generator

Robots Text Generator

This generator creates the meta tag for robots. It also includes the code for the Googlebot.

Generators

Metric BMI Calculator

Metric BMI Calculator

Use this script to calculate your BMI (Body Mass Index). Measurements are computed using the metric system. A perfect addition for a health Web site.

Math Related

Eight Queens Problem

Eight Queens Problem

This is a JavaScript that involves the movement of the Queen in Chess. Simply place eight queens on a chess board without conflict.

Games

Reverse Text Wizard

Reverse Text Wizard

Some languages are written from right to left. This script takes the input from the users entry field and simulates typing from right to left.

Text Effects

Top Window

Top Window

Use this JavaScript to keep a window ‘on top’ of the rest of your other windows. Not sure what I mean? Try it out and see!

Page Details

dFilter

dFilter

This script will easily allow you to add an input mask to a textbox. The mask for a phone number could look like this for example “(###) ###-####”. Just give it a try to see it in action!

Forms

Country State City Drop Down List

Country State City Drop Down List

This is a simple international country, state, and city drop down list that automatically repopulates the state section based on the country selected, and automatically repopulates the city section based on the state selected. All of this is done without reloading the page.

Forms

onMouseOver Button

onMouseOver Button

When a user moves the mouse over the button, it will change text. When the mouse is moved away, the text will change back. Perfect for adding short instructions on a submit button.

Forms

  • « Go to Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 27
  • Go to page 28
  • Go to page 29
  • Go to page 30
  • Go to page 31
  • Go to page 32
  • Go to Next Page »

Primary Sidebar

FREE UPDATES!

Get the latest updates in your inbox for FREE!

Popular Posts

Story Generator

IP Grabber – get a users IP address with JavaScript

Simple Calendar

Remove Ads

Astrological Calculator

Copyright © 2023 JavaScriptSource.com

  • About
  • Privacy Policy
  • Submit
  • FAQ
  • Jobs For Developers
  • Contact Us