I want to disable button 10 minutes after it was clicked. I am using this code and it is working if there is no delay() added. But with delay it is not working.

```
<script>
$(".selected-button").delay(600000).attr({
    disabled: true,
    title: "You have already chosen the best answer and now you can not change it!"
});
</script>

```