I need a help, I have a code that when clicking on checkbox
a window would appear, if it disappears the window disappears, so far so good, but now, it will not be a% will display the window.
It will be a checkbox
and your options should come from the database (Postgre).
I have to get the 3 options that come from the bank and put to open and close this window.
This is my select:
<div class="es2 col-md-6">
<label class="lb">
Nacionalidade
</label>
<select ng-model="pessoa.pessoasFisicas.nacionalidade.idNacionalidade" ng-options="nac.idNacionalidade as nac.descricao for nac in nacionalidades " class=" js-example-theme-single1" style="width: 100%; margin-top: -3px;" placeholder="Digite aqui nacionalidade">
<option ></option>
</select>
</div>
These are the windows that have to open and close in case they are tabs.
<li>
<a data-toggle="tab" id="tabEstrangeiro" data-target="#estrangeiro">
Estrangeiro
</a>
</li>
<li>
<a data-toggle="tab" id="tabNaturalizado" data-target="#naturalizado">
Naturalizado
</a>
</li>