-
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 Cuastom Metadata](https://images.forcetalks.com/wp-content/uploads/2020/08/28101057/Salesforce-Custom-Metadata.jpg)
How to Import Salesforce Custom Metadata Records using CSV/JSON
Importing Salesforce Custom Metadata Records can be really tricky. Forget about using the import wizard or dataloader to do that. These tools are amazing but…
![](https://images.forcetalks.com/wp-content/uploads/2020/11/18122114/sa_1605702058salesforce%20IoT%20cloud%20for%20business.png)
How Salesforce IoT Cloud Prove to be Beneficial for Your Business
The term, Internet of Things (IoT), is a system of connected computing devices, such as mobiles, digital machines, and other objects with the potential of…
![Creating a Visualforce Bar Chart](https://images.forcetalks.com/wp-content/uploads/2016/05/25085250/Creating-a-Visualforce-Bar-Chart.jpg)
Creating a Visualforce Bar Chart in Salesforce
Visualforce charting allows custom charts to be embedded into any Visualforce page using standard components and some server-side coding. A key difference from the standard charting functionality…
Popular Salesforce Videos
Salesforce Work.com Overview Demo Video
Salesforce Work.com provides you with essential solutions designed to help businesses reopen the workplace as quickly as possible, while keeping employees, customers, partners, and communities…
Service Resources and Territories in Salesforce | Salesforce Webinar
Ensure seamless field service operations by setting up Service Resources and Territories in Salesforce Field Service the right way. Organize and manage field service operations…
Introduction to Salesforce Function | Evergreen
Introduction to Salesforce Function and Evergreen. Deliver event-driven, connected experience fast. Evergreen: Serverless Functions Check out this video to learn everything you need to know…