JavaScript

```
function AdultNumber(){              /* Ticket Number Validation   */  
    var AdInput = $("#adult").val();

    if (AdInput > 0 ){
        document.getElementById("AdTickError").textContent = "";
        return true;

    } else if( AdInput > 20) {
        confirm("You sure you want 20+ Passengers?");
        return true;
    } else {
        document.getElementById("AdTickError").textContent = "Incorrect Enter Correct Number Of Passengers";
        return false;
    }
}

```

HTML: 

```
<label for="Adult-ticket" class="center-label">Adults(+16)</label>
    <input type="number" id="adult" name="user_adult">
<label id = "AdTickError"></label>

```

Why does it not display confirm box if user inputs over 20? I want it that if user chooses 20 or over an confirm box prompts asking user if they want to continue.