SHARE
TWEET

Untitled

a guest Jun 25th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top