I'm trying to use javascript to submit a select form without submit button. So far I think I'm close but it's not activating. Not quite sure why. This is the first time I'm tweaking drupal site.
<select data-drupal-selector="edit-field-campaign-vehicle-value" id="edit- field-campaign-vehicle-value" name="field_campaign_vehicle_value" class="form-select">
<option value="All" selected="selected">- Any -</option>
<option value="event">Event</option>
<option value="local">Local</option>
<option value="national">National</option>
</select>
$( ".form-select" ).change(function() {});
You could use something like this