fabiomcosta / jquery-meiomask

A jquery plugin for creating masked input texts
http://meiocodigo.com/projects/meiomask
MIT License
233 stars 105 forks source link

Any doc without the original website? #64

Closed fellipeh closed 10 years ago

fellipeh commented 10 years ago

Hi, there's any docs without in original website? I ask that, because, the original website is off.

Cheers

wandersonwhcr commented 10 years ago

what do you need from docs? can I help you? :)

fellipeh commented 10 years ago

Hi Wander!

I need some example how to put a mask into a input. Like: Phone

I see some time ago, in the original website, has many example of how to use meiomask.

wandersonwhcr commented 10 years ago

Try this...

$('#id').setMask('(99) 9999-9999');

... or open file

https://github.com/fabiomcosta/jquery-meiomask/blob/master/src/meiomask.js

at lines 154-206

:)

fellipeh commented 10 years ago

Can I set for some css class ? Like.. I have 15 inputs, and I want to put the same mask.

wandersonwhcr commented 10 years ago
$('#id')

... is a simple jQuery selector... you can do this selecting nodes that you need... ^o)

fellipeh commented 10 years ago

Ok,

Thanks man!

In time.. Great plugin!!!