I have a select element with 10 options . I am trying to select a specific option by its text. when I do -

```
$('#category_id option:last').text();

```

I get result as "Complete plant" but when I do - 

```
$('#equipment_category_id option[text="Complete plant"]');

```

it returns a blank array.