How we can fire events in javascript?

#1
[eluser]Unknown[/eluser]
M a new learner..plz help me for this questions
-
Rug Store, Rugs, Oriental Rugs, Rug
Rugs for sale, Rugs Online, Large Rugs, Kilim

#2
[eluser]pickupman[/eluser]
You use javascript to bind to elements that when an action happens the event is triggered. If you are new to javascript, the easiest way to learn is via jQuery. It offers a simple way to select an item to manipulate like:
Code:
$(".someClass").click(function(){
   alert("You clicked a .someClass element");
});

#3
[eluser]InsiteFX[/eluser]
Being as you did not give any information on what your trying to do
read this.

jQuery Events

InsiteFX


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.