By clicking "Sign Up", you agree to our terms of service and privacy statement

Remember password?

  • 10 answers
  • 99 views

Intuition for varying number of nodes in deep learning model

I have a problem masking a phone input with jQuery and Masked Input Plugin. There are 2 possible formats:

(XX)XXXX-XXXX
(XX)XXXXX-XXXX

Is there any way to mask it accepting both cases?
EDIT:
I tried:

$("#phone").mask("(99) 9999-9999"); 
$("#telf1").mask("(99) 9999*-9999");    
$("#telf1").mask("(99) 9999?-9999"); 
But it doesn't works as I would like.
The closest one was 
(xx)xxxx-xxxxx.I would like to get (xx)xxxx-xxxx when I type the 10th number, and (xx)xxxxx-xxxx when I type the 11th. Is it posible?
3 Answers
-1
Ohidul Islam February 12, 2025
Nice
0
Ohidul Islam February 12, 2025
my answers
-2
Ohidul Islam February 12, 2025
Cool answer