trigger function on link element code example Example: click a link using jquery $("a").trigger("click");