Questions tagged as 'input'

1
answer

Keydown function jumping an input in the TAB

Good afternoon, I have a function that when I press the enter it creates a new series of inputs in the first line pushing the filled ones down, so that when I pressed the tab in the last also the same function occurs, however, when I press the e...
asked by 05.04.2017 / 18:28
1
answer

How to format input with float and range in Python 2?

I need to make an average calculator (student notes) where the entries have a decimal place and are in the range [0, 10]. The outputs must have five decimal places and so far, with what I have been able to describe, the code is: a = float("%.1...
asked by 26.04.2017 / 16:53
1
answer

Remove options from input field of datetime-local type

I have an input field of type datetime-local and I need it to be as clean as possible, with no cleanup or step buttons and just displaying the date and time in that format: '12 / 12/2016 12:01 ', I would like to know how I can configure this fie...
asked by 29.12.2016 / 18:09
1
answer

How to show multiple images selected "input file"?

Here is an example: link When you select 4 different images, the 4 images are the same as the on-screen display. HTML: <form id="form1" runat="server"> <input type='file' id="imgInp" multiple /> <img id="blah"...
asked by 23.11.2016 / 20:51
1
answer

How to pass range form input values to variables defined in JavaScript to perform conditions? [closed]

I need to get values from a form of type "range" and through the values of every <input> of <form> I want to store in a var of JavaScript within the <html> page itself so that within a function ve...
asked by 26.02.2017 / 20:33
1
answer

pick up input values

I needed to create a code to generate inputs dynamically, below is the code: HTML <div id="divProdutoBase" style="display:none;"> Telefone: <input type="text" id="produto[]" name="produto[]" ng-model="telefones" /> <inp...
asked by 03.11.2016 / 11:18
1
answer

Edit Div content

I have a index , which displays the data of my database, I wanted to click on div , open a modal, that would allow to change that value of div . Code of view : <div style="float:left; max-width:200px;max-height:200...
asked by 14.11.2016 / 04:54
1
answer

input in PHP with the fields filled in

PHP script. My database has 3 fields:    id, name, phone. I need to update the data for 1 record. On the first page, I request, by an input, the name of the record to change, and a "Search" button to locate the record to be changed....
asked by 30.07.2016 / 14:49
1
answer

I have an error in scanf

I have to read N lines with one of the following 3 formats: P k ": the letter P followed by k where k is an integer; A : the letter A followed by k being an integer; " Q ": the letter Q . As I do not know if the person goes by...
asked by 09.04.2016 / 03:27
2
answers

OnClick type image

I'm having trouble making a onclick event work. I would like to change an image of an input type image. I did a test with a simple alert and it was not called the function either. Here is part of my code. <div class="bg-secund">...
asked by 06.06.2016 / 06:08