Ver original<form><input type="text" name="casilla" id="casilla" onblur = "document.getElementById('casilla').checked = (parseInt(this.value)==123) ? true : false;" /></form>