At the moment I have the following form:
<table>
<tr><td class="labelTD"><label for="manifestNumber">Manifest No.:</label></td><td class="detailsTD"><input type="text" class="form-control" placeholder="Manifest Number" name="manifestNumber" id="manifestNumber" required></td><td><span class="requiredInput">*</span></td></tr>
<tr><td class="labelTD"><label for="claimOrigin">Carrier Origin:</label></td><td class="detailsTD"><select id="claimOrigin" class="form-control" required name="claimOrigin">
<option></option>
@foreach($origins as $origin)
<option value="{{ $origin->id }}">{{ $origin->customer_name }}</option>
@endforeach
</select></td><td><span class="requiredInput">*</span></td></tr>
<tr><td class="labelTD"><label for="originTerminal">Origin Terminal:</label></td><td class="detailsTD"><select class="form-control" required><option selected value="">Please Select</option><option value="CINC-Cincinatti">CINC-Cincinatti</option></select></td><td><span class="requiredInput">*</span></td></tr>
<tr><td class="labelTD"><label for="date">Date Unloaded:</label></td><td class="detailsTD"><input type="date" name="claimDate" id="claimDate" class="form-control" required></td><td><span class="requiredInput">*</span></td></tr>
</table>
With this button at the end:
<button id="createManifestButton" class="btn btn-primary">Create New Manifest</button>
Now I've been trying to use others' examples but the script is refusing to work for me, namely the select option.
At the moment, I'm using this jsfiddle: http://jsfiddle.net/qKG5F/3370/ which is based on the answers from this question: Disabling submit button until all fields have values
Unfortunately, in the comments, no one ever responded to the questions about other uses (like radio buttons, checkboxes), but the select issue was never responded to. So is there anything I can do? I want to disable the button specifically because it runs an AJAX script and for the sake of the average user, I just want to disable the button until all fields, including the select are filled out.