0 Replies Latest reply on Dec 6, 2018 1:24 PM by diegorodrigo90

    Save select option onchange

    diegorodrigo90

      hi, i have no Knowledge on java or jbos, it is possible to save a select value on change?

       

      <ice:inputText id="field_tquant" style="position:absolute; top: #{247-xfooter}px;left:#{xleft + 136}px; width:50px; #{frac900_frac901fzForm.getErrorStyle('field_tquant')};" styleClass="font-doador#{(frac900_frac901fzForm.getAtributo('tquant','required').toLowerCase() ne 'false'?'-required':'')}" partialSubmit="true" maxlength="5" onfocus="setFocus('');superfield('frac900_frac901fzForm','tquant','before');return false;" onblur="setFocus('');superfield('frac900_frac901fzForm','tquant','after');return false;" rendered="true" readonly="#{frac900_frac901fzForm.getAtributo('tquant','stop_for_input').toLowerCase() eq 'false'}" required="#{frac900_frac901fzForm.getAtributo('tquant','required').toLowerCase() ne 'false'}" title="#{frac900_frac901fzForm.getAtributo('tquant','fyi_message')}" disabled="#{frac900_frac901fzForm.getAtributo('tquant','stop_for_input').toLowerCase() eq 'false'}" value="#{frac900_frac901fzForm.tquant}" />

                          <!-- Select par alistar impressoras -->

                          <select id="listarImpressoras" name="impressora" style="position: absolute; top: #{280-xfooter}px; left:#{xleft + 340}px; width:180px;z-index:90;"/>

       

      The select id="listarImpressoras" get a list from json using js, i wanna save the valu whe use change on an var/string