Note: Simulate the clicking, triggering the onClick event. Syntax: document.getElementById("elementID").click() document.all.elementID.click() // IE only