I am a js bumbler, so this is inevitably a trivial mistake. I want a change to a select item in my form to trigger a form submit (see code snippet below).
What happens is that the form is correctly submitted to the right php page, but the Select element value defaults to the first option, regardless of the option selected. Where a I being stupid? Ron
<input type='submit' name='buttons' value='Delete'>
<input type='submit' name='buttons' value='Copy'>
<input type='submit' name='buttons' value='Move'>
<select name='rotate' id='rotate' onchange='this.form.submit()'>
<option value='Rotate 0'>Select from list below to Rotate</option>
<option value='Rotate 3'>Rotate by 90 CW</option>
<option value='Rotate 2'>Rotate by 180 CW</option>
<option value='Rotate 1'>Rotate by 270 CW</option>
</select>
.....other form elements