everconfusedGuy
everconfusedGuy

Reputation: 2797

list of all HTML attributes which accept Javascript

I would like to know ALL the attributes of HTML elements which can accept JavaScript, like onLoad, onBlur events, submit attribute of forms, etc.
Is there any such comprehensive list?
I would also like to know if there is any easy way to select all of the attributes using jQuery.
Thanks!

Upvotes: 0

Views: 106

Answers (2)

R R
R R

Reputation: 2956

go through the following link,you will get your answer

http://www.w3schools.com/tags/ref_eventattributes.asp

Upvotes: 1

Sridhar R
Sridhar R

Reputation: 20408

Window Event Attributes

onafterprintNew 
onbeforeprintNew    
onbeforeunloadNew   
onerrorNew  
onload  script  
onmessageNew    
onofflineNew    
ononlineNew     
onpagehideNew   
onpageshowNew   
onpopstateNew   
onredoNew   
onresizeNew     
onstorageNew    
onundoNew   
onunload

Form Events

onblur  
onchange    
oncontextmenuNew    
onfocus     
onformchangeNew     
onforminputNew  
oninputNew  
oninvalidNew    
onselect    
onsubmit

For Full Refrence

http://www.w3schools.com/tags/ref_eventattributes.asp

Upvotes: 0

Related Questions