G
gwf
Guest
Thank you, Godfrey - but if I use the original code to populate the arrName and then insert code where marked below that makes use of arrName, does that avoid multiple API calls? script src='../js/metadata.js' type='text/javascript' charset='utf-8' /script script var arrName = [], count = 0; $(function() { rbf_getFieldDef("sg_opportunity", "industry", function(data){ $(data).find('ListItem').each(function(){ arrName[count] = $(this).attr('Name'); count++; }); //JS code here }); }); /script
Continue reading...
Continue reading...