I\'m trying to get the content of a span when a button is clicked. This is the html:
The span isn't a parent of the '.select-location' button, but the div is (which the span is in). Using your markup, try something like this:
var spanVal = $(this).parent('.multiple-result').find('span').html();