🌈 搜索
📅  最后修改于: 2022-03-11 15:04:25.995000             🧑  作者: Mango
var e = jQuery.Event("keydown"); e.which = 13; //choose the one you want e.keyCode = 13; $("#theInputToTest").trigger(e);