I have code like this:
Change this line:
var cff_name = $("#caffe").text();
To this:
var cff_name = $("#caffe option:selected").text();
This uses the :selected selector to find the option that is selected, and then gets the text of that, rather than getting the text of the entire select
element.
$('#caffe option:selected').text();
would do it for you ;-)