I have the following HTML code:
<p>
<label>* Name</label>
</p>
<p>
<label>* Last Name</label>
</p>
<p>
<label>Mascot Name</label>
</p>
Is it possible to change the color only to the character *
with jQuery?
I tried with the function find()
but I repeat all the characters on the label.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…