Select autosubmit

Select autosubmit

by Helson C -
Number of replies: 1

Hello, 

How can I create a select menu like this

<select id="" class="select autosubmit singleselect" name="bui_addblock">


I try to add this class manually, but the select don't submit automatically when change.


I create a "hack" adding in the fourth parameter of select

$mform->addElement('select', ..., ..., array('onChange' => 'window.location = http://'));       


Thanks!

Average of ratings: -