<div style="background-color: pink; width:100px; height:100px"></div> <form> <input type="button" id="taro" value="太郎"> </form>
$("#taro").on("click", function (event) { alert($(this).val() + "です"); }); $("div").on("mouseenter", function (event) { $("#taro").trigger("click"); });