I need to change the text of many Bootstral Listgroup item.
It works with
Listgroup1_1.textContent = “new text”
Listgroup1_2.textContent = “new text”
…
But I need to go with for i = 0 to 30 through all items.
Therefore I need what is described here:
http://wiki.nsbasic.com/Listgroup_(Bootstrap)
Change the text of line n:
$.NSB(“Listgroup1_” & n).textContent = “New text”
But that doesn’t work. It says:
Uncaught TypeError: $.NSB is not a function.
What’s wrong?