Questions tagged as 'input'

2
answers

Decimals point type for the input type number of HTML5

I have the following input: <input type="number" value="1.5" step="1" id="id_texto" /> Currently the value of the input shows me 1.5. But what I want is to show me 1.5. I want decimals to show it to me with a period, and not with a co...
asked by 10.06.2017 / 00:24
2
answers

Create query with value of a Select

In advance, thanks for your help. I am trying to make a form in which, when selecting an option in a combobox, take the selected value and can put together a query to insert a value into an input text. I'm stuck on how to put the value of the...
asked by 06.12.2018 / 02:03
2
answers

How to change the alert message for forms inputs?

How do I place a personalized message to the Firefox, Chrome and Edge alerts when the Inputs type: text, number, tel, etc. Have they not been filled in or have erroneous content? For example: Mail: Empty? {$ Message ("Please place a valid...
asked by 18.01.2018 / 02:43
1
answer

Copy and Modify Input value to another Input, JavaScript

I have a question about a code that is killing me ... What I need is that I copy the input value in another input, but that it is different, that is to say without spaces and in minuscule everything, example: Input 1: Hello World Input 2...
asked by 29.08.2018 / 19:11
1
answer

Change the placeholder color of a text input using JavaScript or, better yet, CSS? [duplicate]

I want to change the color of the placeholder of this input. Is it possible? <input type="text" placeholder="Enter your input here">     
asked by 09.05.2018 / 06:01
1
answer

How to change the input method of an Edit text in java?

Hi, I am programming in android studio and I need to know how to change the input method (inputType) of an Edit text with java code, not from xml. public void button (View view){ TableLayout table = (TableLayout) findViewById(R.id.table);...
asked by 15.08.2017 / 20:19
1
answer

Add two input and subtract the total with jquery

I have a window for the shopping cart with two input, one where I write the total charged with a credit or debit card, and another for cash payment. It happens that the customer in a purchase can use both methods at the same time. So I want that...
asked by 13.09.2018 / 20:33
1
answer

Block past weeks in input week

I want to block the past weeks to the current one in an input type week so that they are not selectable. I already appreciate the help! Greetings.     
asked by 23.10.2018 / 21:36
1
answer

How can I autollen 2 inputs depending on what I select in a dropdown?

I have a dropdwon which shows as options the fields of a table in mysql, up to here everything is fine. I also have 2 inputs which I want to fill according to what is chosen in the dropdown. The information with which I want these inputs to be f...
asked by 16.05.2018 / 22:38
1
answer

New or previous value in script according to input

I need that when "nuevo_saldo" equals zero: the value of "restan" is also zero. But ... if it were not like that, keep its initial value . EDITED: Thanks to a timely response (@alanfcm) an advance was achieved in this problem...
asked by 17.05.2018 / 17:28