Could anyone please let me know the usage of "Input Hidden" Tag If you can please let me know the same with a Practical Example, that would help me Thanks in advanced.
<apex:inputHidden> means it wont be dispalyed in the page but can be accessed/set/reset through javascript or apex. It is basically used to temporarily store value, I have used it for client side pagination to store current pagenumber.
Details on apex:inputhidden attributes can be found here.
Hi,
<apex:inputHidden> means it wont be dispalyed in the page but can be accessed/set/reset through javascript or apex. It is basically used to temporarily store value, I have used it for client side pagination to store current pagenumber.
Details on apex:inputhidden attributes can be found here.
Regards,
Lakshman
Hi
See This
<apex:inputHidden value="{!Visit__c.Current__c}" id="theField1" />
<script> var theField1 = document.getElementById('{!$Component.theField1}'); </script>
<apex:commandButton onclick="theField1.value=current1;action="{!save}" value="save"/>
here the value is store in database wen we click save button.
Regards,
Rajesh.
<apex:inputHidden> is same as In HTML tag <input type="Hidden"> . <apex:inputHidden> is use when you need values but not want to display on VF page.
Thanks guys for your time and help. I'll try all these and let you know for any further questions