-
How to call the javascript function after selecting the value from the apex input list?
<apex:inputText list="{!listOfExperts}" id="userInput" onChange="alert(this.value);"></apex:inputText>
I want to call the Javascript function when I select any value from the listOfExperts. Onchange works when I click anywhere on the screen after selecting the value from the list. But I want to call that function as soon as I select the value from the listOfExperts.
Log In to reply.
Popular Salesforce Blogs

Salesforce Flow: A Guide to Automating Business Processes
Table of Contents Introduction Identify the Processes for Automation Map Out the Process Create Your Flow with Salesforce Define Elements and Logic Test Your Salesforce…

The Fall of the Third Party Cookie: Here’s What Salesforce Pardot Users Need to Know
Marketers rely on cookies (the kind you cannot eat) to track visitor data and personalize marketing efforts. And like Cookie Monster love them. Google’s recent…

Salesforce CPQ Consulting and Its Key Important Features
Salesforce CPQ (Configure, Price, Quote) is a suite of tools that helps businesses automate and streamline the process of creating and managing sales quotes, proposals,…
Popular Salesforce Videos
Salesforce Platform Quick Tip: How to Solve Issues with Error Code Validation
Want to troubleshoot your validation errors faster? Trailblazer and Senior Salesforce Administrator, Monica Doyle walks us through how to add error codes to a validation…
Is Salesforce A Good Career In 2022?
Wondering whether Salesforce is a good career or not? Still have some doubts about it. Watch this video and join this useful group for Salesforce…
Basic Concepts of Salesforce | Salesforce Training Online
This video session on Salesforce online training covers the basic concepts of Salesforce and will give intense knowledge on Salesforce at a very high level.…