Dynamic path to data-sly-resource from javascript | Adobe Higher Education
Skip to main content
March 18, 2018
Beantwortet

Dynamic path to data-sly-resource from javascript

  • March 18, 2018
  • 1 Antwort
  • 722 Ansichten

I am creating HTML based on the response from ajax call. I need to include one of the components those many times based on the response of ajax call.

var ajaxCallResp = [object,object,..];

I am using slick js for carousel behavior. For each object in "ajaxCallResp", I need to create the component with different ID in javascript.

Can you please let me know how to achieve?

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von edubey

It won't work,

data-sly-resource gets compiled at server, so JS at browser wont have any control

1 Antwort

edubey
edubeyAntwort
Level 10
March 18, 2018

It won't work,

data-sly-resource gets compiled at server, so JS at browser wont have any control