I am looking for a way to submit my form when I click a <option>.
Explanation of <select> use:
Click checkboxes and then choose what folder to move the ones that were selected to using the drop-down menu.
Here is what my form looks like: http://jsfiddle.net/Draven/yufwu/23/
Keep in mind the checkboxes have multiple uses (delete, move to folder).
And the drop-down menu (<select>) is retrieving the folders from the folders table.
I am having a hard time explaining this so if you have any questions just ask.
EDIT: Thanks to NullPointer I got this working. Exact code below.
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
$('select').change(function ()
{
$(this).closest('form[name="delete-volunteer-app"]').submit();
});
});//]]>
</script>
try