<form> <input type="button" onmouseover = "pepe.value='algo'" /> <input type="text" name="pepe" /> </form>