this will not working?
__________________________________________________ __
<input style="height:45px;width:230px;font-size: 1rem;font-family:Verdana;background:#FFECECEC;border-radius:8px; text-align:center;" id="jumptopagebodymass"; type="number"; placeholder="Ihr persönlicher Wert";" wi>
<div <br> <br> </div>
<button style="height:55px;width:235px;font-size: 1rem;font-family:Verdana;transform: scale(0.99);border-radius:8px;background:#a6a6a6;color:#FFFAFA;" id="btnGobodymass" onclick="goJumpbodymass()">Auswerten</button>
<script>
var pageinput = document.getElementById("jumptopagebodymass");
pageinput.addEventListener("keyup", function(event) {
if (event.keyCode === 13) {
event.preventDefault();
document.getElementById("btnGobodymass").click();
}
});
function goJumpbodymass() {
var page = jumptopagebodymass.value;
page .replace(/,/g, '.');
if (page > 1.0 && page < 100.0)
{
if (page < 18.5) {
location.href = "body-mass-1.htm";
} else if (page > 24.9 && page < 30.0) {
location.href = "body-mass-2.htm";
} else if (page > 29.9 && page < 35.0) {
location.href = "body-mass-3.htm";
} else if (page > 34.9 && page < 40.0) {
location.href = "body-mass-4.htm";
} else if (page > 39.9) {
location.href = "body-mass-5.htm";
} else {
location.href = "body-mass-index.htm";
}
}
else {
location.href = "index.htm";
}
}
</script>
__________________________________________________
Bookmarks