I have some part numbers as a string.For example :
partnumber = "a1;a2;a3"
现在,我正在使用<条码>文本(<>/条码>)等功能展示。
$("#id").text("Part number(s) " + partnumber+ " is shown");
But I want to change the color of partnumber
only and not the full text.
因此,我要谈谈:
Part number(s) (some color) a1;a2;a3 (some color) is shown. How to do this using jquery?