Skip to content

Instantly share code, notes, and snippets.

View charmoniumQ's full-sized avatar
:shipit:
dabbing on the haters

Sam Grayson charmoniumQ

:shipit:
dabbing on the haters
View GitHub Profile
@charmoniumQ
charmoniumQ / dropdown.html
Created October 4, 2013 22:39
Dropdown where you can select a pre-existing option, or "other" and create your own
<select onchange="checkvalue(this.value)">
<option value='Bailey'>Bailey</option>
<option value='Bedichek'>Bedichek</option>
<option value='Burnet'>Burnet</option>
<option selected value="Other">Other</option>
</select>
<input type="text" name="current_school_other" id="other_current_school" class="pad" style='visibility:visible;' disabled/>
<script>
function checkvalue(val) {