0

I have below code where after I do enter an auto complete input text value I need to click elsewhere for the apex class method {!applyfiler} to work. But I need to call that method instantly after input text value entered without any further click. Can someone please help me here with javascript any if possible?

Apex Page code

<apex:pageblockSectionItem > 
     <apex:outputText rendered="{!userType == 'Admin' || userType == 'HomeOffice' || userType == 'Field'}">
          Compliance Incident Transaction Name
     </apex:outputText>
     <apex:inputText styleClass="apexCITautocomplete" value="{!selectedCIT}" id="Rep">
          <apex:actionSupport event="onchange" action="{!applyfiler}" rerender="pb"/>
     </apex:inputtext> 
</apex:pageblockSectionItem> 
Reshma
  • 326
  • 6
  • 13
SFDC_Learner
  • 139
  • 1
  • 2
  • 9
  • What do you mean by auto complete. Will this text field populate on page load itself? – Reshma Jan 09 '17 at 04:51
  • 1
    are you looking something like this http://stackoverflow.com/questions/14042193/how-to-trigger-an-event-in-input-text-after-i-stop-typing-writing – Reshma Jan 09 '17 at 10:29

0 Answers0