-
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
Why Digital Transformation is Essential for Business Growth? | Salesforce Guide
With reports suggesting that worldwide spending on the technologies enabling digital transformation is forecast to reach $2.3 trillion (£1.8 trillion) in 2023, more and more…
Using Ternary Operator in Salesforce Lightning Components
The below code shows how to use Ternary Operator in Salesforce Lightning Components: Ternary_Operator.cmp <aura:component > <aura:attribute name=”isError” type=”Boolean” description=”If Name is empty then true,…
Popular Salesforce Videos
What are Salesforce Developer Edition?
Salesforce Developer Account is actually a free of cost account. If you wanted to explore and if you wanted to do the configuration practices or…
Email to Case Advance | Converting Cases from Emails Effectively | Salesforce Tutorial
Email-to-Case Advance is an enhanced version of the Salesforce Email-to-Case functionality that converts customer email to cases. It works for Salesforce Service Cloud and provides…
Learn Apex Triggers Part 2 in Salesforce Development
In this video, we will learn about Apex Triggers in Salesforce development: We'll will be discussing the following things in this video: 1. What are…