Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
BRH 48
#DOTNET 34
#ASP.NET 29
jQuery 22
ASP.NET 20
.NET 20
WPF 9
jquery interview questions 9
jquery faq 8
ASP.NET4 8

Archive · View All
February 2011 10
September 2011 4
August 2011 4
July 2011 4
May 2011 4
April 2011 4
March 2011 4
October 2011 4
June 2011 4
January 2011 4

Working with jQuery Selectors – Events .

May 31 2011 3:06AM by Hima   

How to get All I tags inside an element with id ‘header’ ?

Now  we understood what is ID selector, class selector and to select elements, putting all together we will try to answer the above question

For ex: $('#header >I')  - Gets get All I tags inside an element with id ‘header’ .

 

ID Selector with on Click Event

$('#header >I') .Click(function() 
{   //Open 
alert(this.innerHTML); 
});  // Close
Here we are firing click event means that, the mouse click event fires the function. And the corresponding operations in the event are fired. In this case a simple alert message.

 

Class Selector with Mouse Over Event

$('.content').mouseover(function() 
{
 this.innerHTML = 'Content Replaced';
});

The above code snippet select all the elements that has class ‘content’,Mouse over of the element content/ text associated with element will be replaced


Here Methods can be applied to sequence of objects.

Tags: BRH, jQuery, selectors, mouseover, jquery events, onclick,


Hima
31 · 6% · 1776
0
Liked
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]