Monday, 2 September 2013

Set the div id dynamically to a variable and use it for hover in jquery

Set the div id dynamically to a variable and use it for hover in jquery

I'm new to this .Net and i need to get the div id dynamically to set it to
variable and further use it for hover.
In my case i have 4 divs namely div1,div2,div3,div4 and inside that divs i
have four images with id pic1,pic2,pic3,pic4 .So when i hover on anyone of
that id the image inside that div should animate.
How to get the div id to a variable when hover and use that to animate
that specific image..Please can any one help me to find a solution for
this.
Thanks in Advance Shek

No comments:

Post a Comment