function eventFire(el, etype){
if (el.fireEvent) {
el.fireEvent('on' + etype);
} else {
var evObj = document.createEvent('Events');
evObj.initEvent(etype, true, false);
el.dispatchEvent(evObj);
}
}
eventFire(document.querySelector('.EtoKnopka'), 'click');
document.querySelector()
document.querySelectorAll()
document.getElementsByClassName()
document.getElementById()
document.getElementsByTagName()