On Thu, Jan 14, 2010 at 10:06 PM, brian wrote:
> On Thu, Jan 14, 2010 at 9:53 PM, J wrote:
>> Hi,
>>
>> Im new to jquery.
>>
>> I have a .hover that is applied to all ul li a
>> $("ul li a").hover
>>
>> Question: How can I apply the .hover to a specific class or id?
>>
>> I tried something like t
On Thu, Jan 14, 2010 at 9:53 PM, J wrote:
> Hi,
>
> Im new to jquery.
>
> I have a .hover that is applied to all ul li a
> $("ul li a").hover
>
> Question: How can I apply the .hover to a specific class or id?
>
> I tried something like this but it didn't work for me:
> $("#test ul li a").hover
W
to apply it to a specific id, you need to just mention the id in the
selector.
eg.) $('#testid')
in DOM it is important that the ID is unique, if you do have multiple nodes
with same ids, which is a violation of HTML, the ID selector will always
return the first node with that ID.
For a class yo
Hi,
Im new to jquery.
I have a .hover that is applied to all ul li a
$("ul li a").hover
Question: How can I apply the .hover to a specific class or id?
I tried something like this but it didn't work for me:
$("#test ul li a").hover
$("test ul li a").hover
Thanks
4 matches
Mail list logo