Most voted "jquery-masked-input" questions
19 questions
Sort by count of
-
20
votes6
answers14943
viewsJS Mask for Hours Validation
I’m using in a project the jQuery Masked Input. I made a mask like this: <script> $(document).ready(function () { $("#QuantidadeHoras").mask("99:99"); }); </script> The <input>…
javascript jquery jquery-masked-input jquery-mask-pluginasked 9 years, 6 months ago Leonel Sanches da Silva 88,623 -
6
votes1
answer1277
viewsoptional mask caractére with Jquery maskedInput does not work
In a form that I am developing, one of the fields that the user needs to fill is cellular, and as the cellular of some regions of Brazil have 9 digits I am using the library jQuery Maskedinput to…
-
4
votes1
answer785
viewsjQuery Masked Input - Is it possible to recover the mask attached to the field?
I’m using jQuery Masked Input Plugin with jQuery Validation Plugin. When a form field loses focus, the validation plugin shows a message, but this is not happening with the fields that are have…
javascript jquery jquery-validate jquery-masked-inputasked 10 years, 9 months ago Philippe Gioseffi 3,202 -
2
votes1
answer1628
viewsInputmask for Displayfor
I use jQuery Inputmask to add masks to my Textbox. However, I need to add a mask when listing these fields( phone, Cpf, etc). I use Displayfor to list, but the mask does not work with the same. Code…
-
2
votes4
answers6560
viewsTelephone and CPF masks in Textfield
How can I put masks for phone and CPF on text_field? In app/views/layouts/application: <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"…
-
2
votes1
answer91
viewsMask Jquery error when typing a letter
I am with the following problem I am using for example the Mask code $(document).ready(function(){ $('.cpf').mask('999.999.999-99'); }); perfect it works and accepts only numbers, but if I fix any…
-
2
votes4
answers253
viewsmaxlength in coin mask
I’m wearing this coin mask, it works until well put a maxlength in the input it does not limit the amount of numbers. <script language="javascript"> function MascaraMoeda(objTextBox,…
-
2
votes3
answers46606
viewsMask for HTML5 Input fields
I am applying a mask addition feature in my code, even when the user fills the phone or mobile, to chew be filled automatically. However, my page does not return anything while user type.…
-
1
votes1
answer477
viewsCount characters from an input ignoring the maskedinput
I have a script to advance the cursor to the next field of a form when the current field reaches its character limit(source). When I tried to put the maskedinput gave problem, because the mask…
-
0
votes1
answer286
viewsjQuery Mask does not read innerHTML
I’m having trouble generating mask reading(jQuery) on elements generated via innerHTML. Only that the validator works and after trying to insert a die outside the mask it loads the page with the…
-
0
votes0
answers800
viewsProblem with inputmask (Mask)
I’m trying to put mask on my inputs, I think I’ve called the necessary files, but it’s not working. Archives: <script type="text/javascript"…
jquery-masked-inputasked 9 years, 6 months ago Andrew Maxwell 429 -
0
votes4
answers1204
viewsCapture the value of a text without the mask?
I have a text field masked as follows: $("#txtnuminic").mask("99999999-9"); And I’m trying to extract the contents of it without the mask as follows: valor =…
-
0
votes2
answers2104
viewsDoubt about RG - what is the best way to control the field?
I’m opening this topic to find out how you’ve been working with the issue of RG inclusion in forms. I think a common concern of all when working with forms is that the control of data is in our…
-
0
votes1
answer228
viewsSimple Form different input for a model
I have in my database a column value with Precision 7 and 2 big decimal type. In my form I use the simple form and also use the Mask, ie field for input value would look like this: 70.567,54…
-
0
votes1
answer1414
viewsProblem to apply a jQuery mask to a modal
I have an HTML modal and in it there are two text fields that should receive dates, I am trying to apply a jQuery mask to these fields, but I was not successful, the mask usually applies when the…
-
0
votes1
answer70
viewsJquery Mask only alphabetical with strange behavior
I am trying to add a mask in a field to accept only alphabetic characters. Apparently I managed to find a solution. Code $(function () { $("#name").keypress( function(key) { if((key.charCode < 97…
-
0
votes1
answer1389
viewsJavascript validation with jQuery Mask
I am developing an area where the student will register in it, so I decided to seek help from libraries like jQuery, I got a good result before that, but there are some errors in my script that I…
-
0
votes2
answers232
viewsemail validation and password being equal and with minimum character
hello, I’m starting in the world of jquery and I’m working with djando and python and the form has the jquery below <script> $('#validator').prop('disabled' , true); $('#senha2').on('keyup',…
-
-1
votes3
answers973
viewsLaravel - validation of the field formatted with BR currency
I’m using the jQuery Input Mask to put mask in values. As much as in the front end the mask avoids being informed of any character other than numbers, dots or the comma, it is necessary to validate…