jquery获取select选中的值

在jQuery中,你可以使用` val()`方法来获取``元素选中的值。假设你有一个HTML的``元素如下:```html Option 1 Option 2 Option