function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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: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 &nbsp; <apex:inputText value="{!inputvalue}" />
          <apex:pageBlockSection title="The Output Section" id="pbs2">
             <apex:outputLabel >You have selected {!outputvalue} </apex:outputLabel>

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
Best Answer chosen by Anjaneylu
i got the solution. the problem here is i placed action function outside the input text tag.

but it has to be placed inside the input text only..