You need to sign in to do that
Don't have an account?
Anjaneylu
Display the entered value in the output
Hi here i am not able to get the entered value in the input.
here is the piece of code i have written.
Please help me.
apex class
Thanks and Regards,
Anji reddy
here is the piece of code i have written.
Please help me.
<apex:page controller="SelectdPlist_controller"> <apex:form > <apex:pageBlock > <apex:pageBlockSection title="Please enter the some value in the box"> <apex:actionSupport event="onmouseout" action="{!Gettheinputvalue}" reRender="pbs2"> Please enter the some text <apex:inputText value="{!inputvalue}" /> </apex:actionSupport> </apex:pageBlockSection> <apex:pageBlockSection title="The Output Section" id="pbs2"> <apex:outputLabel >You have selected {!outputvalue} </apex:outputLabel> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
apex class
public class SelectdPlist_controller { public string inputvalue {get; set;} public string outputvalue {get; set;} public void Gettheinputvalue(){ outputvalue = 'fgdginputvalue'; } }
Thanks and Regards,
Anji reddy
but it has to be placed inside the input text only..