-
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

Users and Profiles in Salesforce - Learn All About It
Users Who is a User in Salesforce? A user is anyone who logs into the Salesforce platform or we can simply say anyone who has…

Using External JavaScript Libraries and CSS Libraries in Lightning Component
In this article you will learn, how to use javascript Libraries and CSS Libraries in Lightning component framework. You can use multiple libraries in your…

Mastering Email Deliverability in Salesforce Marketing Cloud
In today’s world of digital marketing, an email's journey from your campaign to your subscriber's inbox is an important aspect that has a bearing on…
Popular Salesforce Videos
Salesforce For Non Programmers | Salesforce For Non Technicals
You can learn Salesforce without any programming language. You can plan Salesforce Administrator Certification which requires no coding skills. Watch this video to learn how.
Login Page Customization | Salesforce Video Tutorial
Learn how to customize your login page in Salesforce and create a better-branded experience on this platform. watch and learn. If you have any questions…
Salesforce Summer '22 Release Highlights | Salesforce Video Tutorial
It's time for Salesforce's Summer '22 update release! This release is chock-full of exciting customization updates ready for you to use within your Salesforce organization.…