javascript - xpages how to hide element (field) using java script -


in xpages, know editable field able value (retrieve) context. question: how hide field using css or java script in xpages can still value context?

thank you

use style="display:none" inputtext control's property. render control hide it. can assign values on client side control.

<xp:inputtext     id="inputtext1"     style="display:none"     value="#{...}"> </xp:inputtext> 

in client side javascript can hide inputtext control with

document.getelementbyid("#{id:inputtext1}").style.display = 'none' 

but necessary if want show first , hide later e.g. button click.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -