I have a selectbox <select>
HTML that has a very large content, there are more than 1000 records that should be loaded, but in performance issues I believe it is getting bad.
I would like some solution in javascript, jquery or angular, that solves my performance problem when loading the data in that selectbox.
I currently load my selectbox like this:
<select id="id_empresa" class="form-control">
<option value="0">Todas</option>
<?php foreach( $empresas as $empresa ): ?>
<option value="<?=$empresa[ "id_empresa" ];?>"><?=$empresa[ "nome" ];?></option>
<?php endforeach; ?>
</select>