I am using BS4 Listgroup addItem("" & results.rows.item(i)[“part_no”] & results.rows.item(i)[“qty”] & “”) to show the records on list. It work fine, but I want to highlight the records with the non-zero qty with the background color of “lime”. I can put the type “active” within the addItem() after the text, but the background color is blue only. I try to put the appearance “success” after the type within the addItem(), but it is not working. Please suggest how I can achieve this highlight function.
$("#ListGroup1_" + i).css("background-color", "lime");
It work fine. Thanks.