Link to home
Create AccountLog in
Avatar of sandshakimi
sandshakimiFlag for United States of America

asked on

Insert JQuery between Label tags?

Goal:  Color the asterisk red.

Here's the current markup:

<label for="edit-field-deliverable3-und-other">Demonstration Name *</label>


Here's what I'm trying to achieve:

<label for="edit-field-deliverable3-und-other">Demonstration Name <span style='color: red'>*</span></label>



Note: The code is autogenerated so I don't have the choice of manually inserting code into the label tag.
ASKER CERTIFIED SOLUTION
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account