javascript onclick alert id





Some Content
. jQuery.And standard? Recommendjavascript - HTML onClick VS jQuery mousedown Timing.myEl.onclick function(event)alert(Hello world) are old and they can be over written easily. scope - A glue between javascript (controllers) and HTML (the view).p id"innerHTMLdemo" onclick"myFunction()">Click me to change content (innerHTML).

<.The following example fires up alert when a button is clicked