i have a Bootstrap select box with an option inside that on click event triggers an action with jQuery. Unfortunately this functionality does not work on my iOS device.
Html:
<div class="form-group">
<label for="selectPropertyLocation">Location:</label>
<select class="form-control" id="selectPropertyLocation">
@foreach ($allLocations as $location)
<option value="{{ $location->location_id }}">{{ $location->name }}</option>
@endforeach
<option selected style="color:red;">Empty</option>
<option id="newPropertyLocation" style="color:green;">Add A New Location</option>
</select>
</div>
jQuery:
$('#newPropertyLocation').click(function(){
$('#addPropertyLocation').modal({
show: 'true'
});
});