-
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 ERP Integration](https://images.forcetalks.com/wp-content/uploads/2020/10/05171404/Salesforce-ERP-Integration.jpg)
Salesforce ERP Integration – Evaluate Your Sales Opportunities Accurately
Vendors that respond faster gain more business opportunities. This is why companies must empower their sales reps with instant customer and prospect information access by…
![Test Classes In Apex](https://images.forcetalks.com/wp-content/uploads/2021/11/11171823/Test-Classes-In-Apex.jpg)
Test Classes In Apex Salesforce | The Developer Guide
Best Practices of Test Class in Salesforce @TestVisible - To access private member in Test Class Test.LoadData - Creating test data without code System.RunAs -…
![Named Credentials](https://images.forcetalks.com/wp-content/uploads/2022/11/22185503/Named-Credentials.jpg)
Named Credentials as Callout Endpoints - Salesforce Developer Guide
A named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition. To simplify the setup of authenticated callouts,…
Popular Salesforce Videos
Algoworks attended Dreamfest 2019!
Algoworks attended Dreamfest 2019 and we had the most enjoyable time ever! Fleetwood Mac played at the venue and the crowd went crazy, energy was…
Build a Simple Screen Flow with Salesforce Flow Builder
Did you know that you can build interactive custom components without any code? Flow Builder is a powerful tool for automation and for giving Admins…
Email to case in Salesforce | Learn Salesforce
In this video, Shrey explained complete Record Level Security in Salesforce which includes: 1. What is Email-to-case in Salesforce? 2. Where can Email-to-case be used?…