0
Function:
document.getElementsById("nome").onblur = function(){
//algum código aqui
}
note that in the above code I can only run for a single element, I would like to explicitly type 3 specific events, or for all type of an element, example with Document.getelementsbytagname
What I wouldn’t like is:
<input type="text" onblur="nomedafuncao(this)">