Establecer el valor SELECT2 del almacenamiento local
$('#select').val(localStorage.getItem('selectDataFromLocalStorage'));
$('#select').select2()
hirohito
$('#select').val(localStorage.getItem('selectDataFromLocalStorage'));
$('#select').select2()