Custom Settings in JavaScript on Visualforce Page #inSalesforce

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>

Comments