JQuery get id or class, not value
- by Celia Tan
I'm new at JQuery, what I wanted to ask is how to select an option, then another option will automatic selected that have property of first option.
I've given code like this:
<select name="kendaraan">
<option value="" selected>pilih kendaraan!</option>
<option value="B 2011 DR" class="B2011DR">B 2011…