Custom Settings in JavaScript on Visualforce Page #inSalesforce
<apex:page>
<script type="text/javascript">
var sample = "{!$Setup.sampleCustomSettings__c.sampleField__c}";
alert(sample);
</script>
</apex:page>
<script type="text/javascript">
var sample = "{!$Setup.sampleCustomSettings__c.sampleField__c}";
alert(sample);
</script>
</apex:page>
Comments
Post a Comment