Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <div class="form-group">
  2. <label class="col-sm-2 control-label"><fmt:message key="label.sagresPessoal.tela.prestacao.unidade.jurisdicionada" /></label>
  3. <div class="col-sm-8">
  4. <select id="idUJ" name="prestacaoFolha.idUnidadeGestora" class="form-control select2 ">
  5. <option value ="">-</option>
  6. <c:forEach items="${listPessoaJuridica}" var="PJ">
  7. <option value="${fn:replace(PJ.codigo,'.','')}">${PJ.nome}</option>
  8. </c:forEach>
  9. </select>
  10. </div>
  11. </div>
  12.  
  13. $('#idPeriodoInicio').val("");
  14. $('#idMotivo').val("");
  15. $('#idPeriodoFim').val("");
  16.  
  17. $('#idUJ option').each(function(index) {
  18. if (index !== 0) {
  19. $('#idUJ').val().splice(0,$('#idUJ').val().length);
  20. }
  21. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement