[jQuery] Help with re-populating a server-side select box using JQuery
Hi all,
I have some very rudimentary HTML markup w/ serverside PHP that
populates a select box like this:
<select name="make" id="make" onchange="if ((this.value) ==
'add_make') { $('#addMakeOption').show(); } else { $
('#addMakeOption').hide(); }" >
<option clas="staticOpt">**********</option>
<option value="add_make" class="staticOpt">Add Make</option>
<?php foreach($makes->result() as $make): ?>
<option value="<?= strtolower($make->name) ?>"> <?= $make->name; ?