How to use mask with coffeescript

201
March 09, 2018, at 02:03 AM

hi i need help to use coffee with rails 5.1 I'm trying to use a mask for the rg id = rg

i try

$('#rg').inputmask('00.000.000-0')

but it did not work

Rent Charter Buses Company
READ ALSO
Slick Slider - Save images on mobile by holding the image

Slick Slider - Save images on mobile by holding the image

I am using SlickSlider (which is an amazing slider) for my gallery page of my site

223
Rails, auto-submit form after input blur returns: ActionController::UnknownFormat

Rails, auto-submit form after input blur returns: ActionController::UnknownFormat

The Goal: Auto submit the form after blur from any input

170
What is best way to reduce repeated code in jQuery (validation form)

What is best way to reduce repeated code in jQuery (validation form)

This is the first time I post on StackoverflowI'm not a jQuery expert, just trying to do my best

192