Skip to content

Instantly share code, notes, and snippets.

View pielgrzym's full-sized avatar
☂️

Q pielgrzym

☂️
View GitHub Profile
@pielgrzym
pielgrzym / jquery.input_formatter.js
Created June 27, 2011 18:54 — forked from sukima/jquery.input_formatter.js
Different scope approach
(function($){
$.fn.extend({
formatInput: function(custom_settings) {
var settings = $.extend({
regex:".*",
format_number: true,
max_length: false,
errback: undefined
}, custom_settings);
return this.each(function() {