How do you submit from a dropdownlist \"onchange\" event from inside of an ajax form?
According to the following question: How do you submit a dropdownlist in asp.ne
I had a button like this in my AJAX.BeginForm
<button id="submitButton" type="submit" class="btn" style="vertical-align: top"><i class="icon"></i> replace</button>
And onsubmit or the solution from Francisco didn't work (I still don't know why)
So I created an alternative:
new { onchange = "document.getElementById('submitButton').click()" }