Name: Anonymous 2008-11-13 12:39
i want a drop down list in a form to submit onchange and have some javascript submit the value of each option as an #anchor in the GET
<select onchange="var f = document.getElementById('fake'), url = ''; for(var i = 0; i < f.options.length; i++) { url += '#' + f.options[i].value; } location.href = url;" id="fake">
<option value="a1">example</option>
<option value="a2">example</option>
</select>