Help with evenodd number calculator

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

11-May-17 12:55
I have been trying to make it, but for now it always says "Odd number.", even when I enter the even number.
It is here:
http://koolitus2017.ikt.khk.ee/karl-gustav/6.05/6.05.html
12-May-17 14:47
with

var inputb = document.getElementById("arvukontroll")



You are not checking the value of the input you are testing the object itself.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/

 
New posts
Old posts

Follow Elated