i have some data in my localStorage like this:
test="[[bla/bla,Bla BLa],[bla1/bla1,Bla1 BLa1]]"
And i have an div with list items (10 list-items) like this
<li data-1="Bla BLa" data-2="bla/bla"></li>
<li data-1="Bla1 BLa1" data-2="bla1/bla1"></li>
<li data-1="Bla2 BLa2" data-2="bla2/bla2"></li>
Now i need to add a border to the list items that have the same data attribute as the value that is stored in the localStorage, in this case the first two.
How can i do this? I am stuck on this one.
Thank you very much