0

I have a dynamic text (like product description) and I am storing it under paragraph tag, so here I need to change the background color of the specific line as per operator input like 2nd line must be in #000 color or 8th line must be in #eee color and so on. So, does jQuery support p:nth-line() like CSS? If is there another method to do that, please share.

Thanks in Advance!

Divya Arya
  • 439
  • 5
  • 22

0 Answers0