ExampleTrigger the select event of an element:$("button").click(function(){ $("input").trigger("select"); }); Try it Yourself » Definition and UsageThe trigger() method triggers the specified event and the default behavior of an event (like form submission) for the selected elements...