• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

doubt on click events in HTML?

 
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all !!!

i am a beginner in html
i am trying to design a simple html page
but i dont have much knowledge regarding
Onclick events in HTML
what must be called on an onClick event?
can anyone explain me a bit in detail?
whats the advantage of it?
with a small example............

It will be realy of great help
Thanks in advance

Dhwani:>Swimmers never weep.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
onclick event listeners are executed when a click event occurs. I'm not sure what else you are after. Their 'advantage" is that you can detect and perform some action when an interesting click occurs.

A more specific question will get a more specific answer. Remember, this is a forum, not a tutorial. If you want to learn the concepts behind event handling, you need to find a good book or tutorial.
 
reply
    Bookmark Topic Watch Topic
  • New Topic