Thanks Blair. Works very nice!

2007/3/30, Blair Mitchelmore <[EMAIL PROTECTED]>:

Selecting by ID in that syntax only selects the first element. Also,
pages should only have one element of the same ID, but if you want to
you can search using attribute checks.


$("[EMAIL 
PROTECTED]'show_credit_card']").highlightFade({color:'yellow',speed:1000,iterator:'sinusoidal'});


But it seems your elements also have that as a class name, so you can
also modify your original as:


$('.show_credit_card').highlightFade({color:'yellow',speed:1000,iterator:'sinusoidal'});


-blair

Web Specialist wrote:
> How can I display highlightFade for the same id? Using this script
> below only the first element(Credit Card Flag) with that id looks with
> highlight.
>
>
$('#show_credit_card').highlightFade({color:'yellow',speed:1000,iterator:'sinusoidal'});
>


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to