SyntaxFix
Write A Post
Hire A Developer
Questions
Try the following:
$("#list option[value=2]").text();
The reason why your original snippet wasn't working is because your OPTION tags are children to your SELECT tag, which has the id list.
OPTION
SELECT
id
list