Hi! I'm trying to assign a CSS style to a TR that contains the words
"Pendiente", "Procesando" and "Completo".
I've made this for jQuery, but I need to do it with prototype/
scriptaculous and I'm a totally newbie.
Thanks in advance for any help!
This is the code I've made for jQuery:
<script>
$("td:contains('Pendiente')").css("background", "#c00");
$("td:contains('Procesando')").css("background", "#0c0");
$("td:contains('Completo')").css("background", "#000");
</script>
Thanks!!
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.