+ Start a Discussion
Robert WynterRobert Wynter 

ampscript+SSJS get html content as a string

I have a landing page that displays a dynamic list from a data extension. From another landing page. How can I call / retrieve the content of the other page. I want to add that content as a string into a dropdownlist. The page content is ["Program 1", "Program 2", "Program 3", "Program 4", "Program 5"];
I've tried: 
%%[ set @JSON = HttpGET("insert URL here") ]%% // get JSON from ampscript var jsonObj = %%=TreatAsContent(HttpGet(@JSON)=%%; var evaluatedJSON = eval("(" + jsonObj + ")");