Login | Register | FAQ
Anonymous

Javascript-lesson 3: events

+ Post a reply

2 posts Page 1 of 1


Javascript-lesson 3: events

by Jesmion » Sun Jan 11, 2015 12:49 pm

Hi, i been through javascript lesson 3, about events, could learn what event is all about in javascript and at html, it's just anything done by a browser, such as: onload, onunload, onclick, onsubmit, onfocus/onblur, onmouseover/onmouseout, thus, any happening in the browser might be programming etc, but if i may ask, what is difference of: onload and onunload and what's the value of 'On' in the unload?
User avatar

Jesmion

  • Posts: 91
  • Joined: Sun Sep 14, 2014 8:07 pm
  • Location: Uruagu Umudioka

Re: Javascript-lesson 3: events

by XainPro » Mon Jan 12, 2015 10:01 am

onload means when page is loading
and unload means when browser or browser tab is closing
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm


+ Post a reply

Page 1 of 1