I\'m trying to get the selected text, not value, from my bootstrap drop down, but my .text() statement is returning a string that contains all the values with a \'\\n\' in b
You can get the selected value's text with $(this).find("option:selected").text().
$(this).find("option:selected").text()
$('#SpaceAccommodation').change(function () { var selectedText = $(this).find("option:selected").text(); $(".test").text(selectedText); });
1-4 5-9 10-15 16-20 20+