I would like to write a code to trigger an event in pure javascript without clicking the button.
i would like the solution to be more generic so that it can be apllied to any event. Like if i want to trigger either button click or drop down etc without actual mouse or keyboard activity.
we have seething for submit button without clicking on it--document.formid.submit();