function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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 + ")");