Avatar of sandshakimi
sandshakimi
Flag 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.
jQueryCSS

Avatar of undefined
Last Comment
Rainer Jeschor

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rainer Jeschor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck