function whatisit() { alert($("select option:selected").val());}
<body><select onchange="whatisit()"><option value="2">test</option><option value="3">blah</option><option value="4">foo</option></select>