JAVASCRIPT Lightning Web Component SALESFORCE

Display objects and arrays as a table using javascript console methods in Salesforce Lightning Component

Display objects and arrays as a table using javascript console methods in Salesforce Lightning Component We can display as Table from console using Javascript console methods. console.table() – https://developer.mozilla.org/en-US/docs/Web/API/console/table You can use console.table to display objects and arrays as a…

Read More
JAVASCRIPT SALESFORCE Salesforce Customization Salesforce.com Visualforce

Pass the Picklist value in Javascript Onchange using Visualforce page

Pass the Picklist value in Javascript Onchange using Visualforce page Visualforce page use the below codes: <apex:inputField value=”{!Account.Status}”  onchange=”foo(this.id);” id=”AccStatus”/> Even better approach will be to send current element to JavaScript function rather than passing only id & then finding…

Read More
JAVASCRIPT SALESFORCE Visual Force Visualforce

Prepopulate visualforce apex:inputtext from URL parameter without using custom controller

Prepopulate visualforce apex:inputtext from URL parameter without using custom controller URL …/apex/MyVFPage?AccountName=TheBlogReaders.com AccountName in Parameter and pass the account value here is a the right solution for your problem using VF page and Javascript MyVFPage: <apex:page standardController=”Lead”> <apex:form> <apex:inputtext  id=”jsName”/>…

Read More