Explain the concept of event handlers in relation to JavaScript and discuss how the use of the onload event can allow them to be used effectively -


well folks ,

i have question , answer // event handlers ways of recording events , acting accordingly. event in context occurrance on webpage. ie. user clicks , page loads, mouse moves on part of page. if of these events happen , code in page interpret , 'do something' event triggered. javascript interpreter language 'decides' if event triggered. onload event occurs when page loads. can put onload() in opening body tag , run javascripts when page loads. examples include working google maps. when page loads can specify run js code such show markers. function can triggered page loads. //

is there add or take away answer , respond question correctly. past exam paper ....


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -