I have a workaround. Therefore, I hope that this will help someone in the future (I think you have already made this decision).
First, type the selected value of the selected selection parameter into hidden input, as shown below. For the value of $_POST get the value from this hidden input $_POST['myselect'] :
<input type="hidden" name="myselect" value="selected_option_value_goes_here" />
Then disable the selected selection. But it's safe to set the hidden input value to the current one before disabling it:
$('input[name=myselect]').val($(".chosen-select").val()); $('.chosen-select').attr("disabled", true).trigger("chosen:updated");
NB If you do not want to disable it, you simply do not need to update the value of the hidden input in the change event of the selected selection.
A working demo can be found by clicking here.
source share