I want to disable the submit button for 5 seconds before it becomes clickable. The script works and make the button unclickable for 5 second, but the problem is it doesn't submit the form.

Please help.

```
<form id="frm_wanted_search">
<input type="submit" onclick="lockoutSubmit(this)" name="school_name" id="btn_book_search" value="Search">
</form>

<script>
function lockoutSubmit(button) {
var oldValue = button.value;

button.setAttribute('disabled', true);
button.value = '...processing...';

setTimeout(function(){
    button.value = oldValue;
    button.removeAttribute('disabled');
 }, 5000) }
</script>

```