Questions tagged as 'input'

3
answers

Mask input text javascript

I want to mask an input text with the following format: Aa-1234, where the 2 letters are the acronyms of US states, separated by a hyphen, and the 4 numbers are the 4-digit zip code: how Could I do with javascript?     
asked by 20.07.2016 / 23:54
1
answer

jquery writing time

I have a question and I have not been able to find a solution. What happens is that I'm using a bar code in a input , but this input also has a function to look up real-time data (ajax) in the database, which I try to do when the...
asked by 24.08.2018 / 15:04
2
answers

Check full fields jquery

I am trying to do a 2 input text check and when the keyup is executed, even if only the input name is filled, it enters the else and the IF is not fulfilled. JS $( document ).ready(function() { $("#formulario input").keyup(function() {...
asked by 01.10.2018 / 17:09
1
answer

Java - Bug in while loop using newLine Scanner

I am creating a text adventure, and I have a while loop (game loop) in which an action is requested from the user, of which are: Explore, Move, Take, Inventory and Position. And user information is received using the Scanner class. To make it...
asked by 20.03.2018 / 12:09
2
answers

How to block copying and pasting in an input?

I have an input ... <input type="text"> How do I block the commands (control + c and control + v) and right click, copy or paste?     
asked by 05.12.2017 / 20:50
2
answers

Show current date in input type date with JavaScript

I need to show the current date in a date type input instead of "dd / mm / yyyy".     
asked by 24.05.2018 / 21:14
2
answers

Error uploading file using type="file"

I have a big problem that is quite strange, I have a input type="file" on my website, in which users can upload a photo of a document. What happens to me is that sometimes from a mobile, when using the input to upload a photo from...
asked by 19.01.2018 / 16:29
1
answer

How to pass data obtained from js to an input of html?

Well my question for some will be basic but it turns out that I am doing a program that increases a button pressed, all right up to here, the problem is that    I want that increment to be printed in an html input since this   I'm doing it wi...
asked by 01.10.2018 / 05:08
2
answers

Miscellaneous Input-Group online Boostrap 4

Good morning! I tell you .. I am new using Bootstrap 4 and I am trying, within a form, to put several input of the input-group class in the same row. I'm trying the following: <div class="row"> <label for="uno">Pri...
asked by 04.04.2018 / 15:51
1
answer

Attribute set to false comes out as true

I'm trying to create a function in Javascript with which to check the inputs with the required attribute in true. The problem is that although this is specified as false, the result it gives is true. Sample code: var serial_no = do...
asked by 09.08.2018 / 09:01