Use Custom Settings in JavaScript on a Visualforce Page

Use Custom Settings in JavaScript on a Visualforce Page

<apex:page>
    <script type="text/javascript">
        var a = "{!$Setup.Opportunity__c.Percentage_Allowed__c}";
        alert(a);
    </script>
</apex:page>


Comments