---
# System prepended metadata

title: Jquery如何取得select的value跟text
tags: [' Frontend', ' Javescript', Jquery]

---

---
tags: Jquery, Javescript, Frontend
---

# Jquery如何取得select的value跟text

## 取得value

```javascript=
$('#selectID').val();
```

## 取得text

```javascript=
$('#selectID :selected').text();
```