vitalets / x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
http://vitalets.github.io/x-editable
MIT License
6.51k stars 1.72k forks source link

Phone number mask #1074

Closed LeadsExpert closed 5 years ago

LeadsExpert commented 6 years ago

Hi, I try to put INPUT MASK to a text input. I need a phone number mask (999) 999-9999 but when I try something that I see on previous topic, I only get a loading circle.....

Can you help me please,

Here the code:

`

`

Script side:

$.fn.editable.defaults.mode = 'inline';

        $('#prenom, #famille, #adresse, #telephone, #telephone_t, #courriel, #courriel2').editable({
            emptytext : "Vide"
        });

I have, too, input mask JS library loaded.

Thnx for help