Questions tagged as 'onkeyup'

2
answers

change the value of inputs simultaneously when modifying one of them

In the following code I want that when modifying any of the 2 inputs change the other one with its respective operation but taking the variable from the one that has just been edited. function calcular() { var valor1= parseFl...
asked by 05.12.2018 / 19:53
1
answer

onkeyup vs onkeypress - Event pressing Space JavaScript key

onkeyup to check when we lift the key, instead onkeypress values the data when the key is pressed. The problem I have is that my functionality works with onkeyup but with onkeypress does not work. I explain. I h...
asked by 27.12.2017 / 22:41