Getting dropdown options in Javascript
At times, We have ran into requirement of getting drop down options of a field in Javascript in SugarCRM. Here is the code that will get you options as an array. For example, you want to fetch values of case_status_dom, the code will be, var statusOptions = SUGAR.language.languages.app_list_strings['case_status_dom']; alert(statusOptions['Closed']); //…