I want to get the selected option of my select so i tried this:
var lastname = $(".lastname")[0].find(":selected").text();
I already tried this but with the id instead of the class. There it works. Unforrunately I have to access via class.
I get the Error „[0]. find is not a function“