Often times a select field on a website will give inefficient options when they allow you to input any 'other' option. Typically a new input field will appear, or a constant input field will be there, only to be used when 'other' is selected.
The solution for this is Select Other, a jQuery plugin that allows dropdown select field to transform into input field on command!
<!-- Dependencies -->
<script src="jQuery.js"></script>
<!-- Select Other -->
<script src="dist/select-other.js"></script>
<link href="dist/select-other.css" rel="stylesheet"/>
<script>
$('.select-other').selectOther("Other");
</script>
Install select-other on your website using the CDN
<script src="https://cdn.jsdelivr.net/gh/PetersonRyan/[email protected]/dist/select-other.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/PetersonRyan/[email protected]/dist/select-other.css">
MIT License