I have this HTML code :

```
<select name="status" statusCode="0" onchange="updateStatus(1)">
    <option value="toSend" statuscode="0">To send</option>
    <option value="send" statuscode="1">Send</option>
    <option value="problem" statuscode="2">Problem</option>
</select>

```

And this jQuery/JS function :

```
function updateStatus(num) {
    alert ($('this:selected').text()); //Return nothing
    alert ($('this:selected').val()); //Return undefined
    alert ($(this).children('option:selected').text()); //Return nothing
}

```

I don't understand why it returns nothing or undefined when I change the select option.