A client reported that in his IE he is presenting a message that the script was too long, causing a crash.
$(document).ready(function () {
$('select').each(function () {
$(this).select2({
allowClear: true,
dropdownAutoWidth: true
});
});
});
My code above, does anyone have any suggestions?