Home > Form Elements

Form Elements

Easy Input Mask JavaScript Library – MaskerJS

Easy Input Mask JavaScript Library – MaskerJS

A simple JavaScript library for masking HTML input fields. app.html: <input id="tel" type="tel" placeholder="+1-234-567-8900"> app.js: var Masker = require('maskerjs'); var telMask = new Masker( [ '___-____', // local // '____-____', // local 8 '(___) ___-____', // area // '(__) ____-____', // area 8 '+_-___-___-____', // international // '+_-__-____-____', // international …

Read More »

Tiny JavaScript Plugin For Amazon Autocompletion

Tiny JavaScript Plugin For Amazon Autocompletion

AmazonAutocomplete is a vanilla JavaScript plugin to unlock the full power of the Amazon autocompletion engine right into your search input. BASIC USAGE Install the library via NPM npm install amazon-autocomplete Add it to your html file before the body tag. <script type=“text/javascript” src=“/path/to/scripts/amazon-autocomplete.min.js”></script> Create a text input in your …

Read More »

Checkbix – Animated Checkbox Input Enhancement In Vanilla JavaScript

Checkbix – Animated Checkbox Input Enhancement In Vanilla JavaScript

Checkbix is a lightweight and easy, vanilla JavaScript library used to create customizable, animated, nice-looing checkbox inputs form. Usage <input id="mycheckbox" type="checkbox" class="checkbix" data-text="Checkbix"> See the demo for more examples and settings. Install bower install checkbix.js npm install checkbix Include files <link rel="stylesheet" href="dist/css/checkbix.min.css"> <script src="dist/js/checkbix.min.js"></script> Init <script> Checkbix.init(); </script> Develop Build npm run build:all …

Read More »

Simple Ajax Uploader

A Javascript plugin for cross-browser Ajax file uploading. Supports drag and drop, CORS, and multiple file uploading with progress bars. Works in IE7-9, mobile, and all modern browsers. Features Cross-browser – works in IE7+, Firefox, Chrome, Safari, Opera Supports multiple, concurrent file uploads (even in non-HTML5 browsers) Built-in CORS support …

Read More »