Questions tagged as 'input'

1
answer

How to clear input? [duplicate]

NOTE: url and number types mainly but if you want to put others tb without problems) Preferably in pure Js! I've tried things like this.value ''; and they did not! NOTE 2: I've read Removing or clearing value of the input file? and...
asked by 29.12.2016 / 18:46
2
answers

Count radio-type inputs that are: checked

I have two inputs in each group with name equal, where each has values different, integer and half Using if and else or otherwise, I would like to count the inputs that will be checked . When I speak o...
asked by 01.02.2018 / 08:31
1
answer

add input in time format

I have 3 input the first receives start time the second hour of exit and the third the subtraction between them. function calcular(){ var segent = parseInt(document.getElementById('segent').value, 10); var segsai = parseInt(docu...
asked by 29.07.2017 / 02:51
1
answer

How to create a checkbox that can not be changed value (readonly)

I would like to make the checkbox not change (readonly).     
asked by 26.07.2017 / 05:34
2
answers

NameError: name 'input' is not defined [closed]

I do not understand the error in this code ... def checkio(number): #Your code here #It's main function. Don't remove this function #It's using for auto-testing and must return a result for check. number = int(input("Escolha u...
asked by 05.12.2016 / 21:18
1
answer

InputDialog in vertical

My problem is that I want to create a graphical interface with vertical insert fields, but I can only create it horizontally. Code: JTextField mapField = new JTextField(5); JTextField tamField = new JTextField(5); JTextField wordField = n...
asked by 21.11.2014 / 13:29
1
answer

How to "bypass" a word in the input every time you press the space key on the keyboard

As the question already says, I want to "bypass" a word whenever it gives a space, as in the examples below: I do not want anything to self-complete, I just want it when you give the "space" the word goes around. But I have no idea how to...
asked by 28.12.2014 / 02:22
1
answer

Detect field type sent in POST PHP

Is there a way to identify the type of field that is coming in a post? If it's Text or Array? Example: I have listbox (select multiple) and text fields in html, and in it the user can select values or not, I have a function where I chec...
asked by 02.10.2018 / 17:10
1
answer

How to make input content appear in the alert?

No JavaScript: function myFunction (){ var input = document.querySelector('.inputt'); var text = document.createTextNode(''); b_i.innerHTML = textt; alert(textt); } HTML : <inpu...
asked by 27.07.2018 / 05:08
2
answers

How to increase the font and cursor of the input="text" bar according to the desired size?

I applied a padding of 30px and the cursor and the font of the input="text" did not increase as the internal spacing applied, is there any possibility of increasing the size as desired? I tried to apply a font-size more! as the font increases th...
asked by 25.05.2018 / 00:03