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...
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...