Bootstrap Listgroup selected item


#1

With the Bootstrap Listgroup, you can get the index of the selected item, but is it possible to get the selected item text?

Thanks


#2

You get the index or the value?


#3

I can only get the index.


#4

Try this:

$("#Listgroup1_" + choice).text()

#5

That is working, thanks.