Answer the question
In order to leave comments, you need to log in
Is there any way to loop through the parameters array in Adobe Muse?
Good day to all. I am writing a simple gallery widget based on jquery. I insert pictures through the parameter . Tell me how you can go through all the type parameters in a loop. For example, we have the following parameters:
<file name="img1" label="Выберите изображение:" filterLabel="Images" fileTypes="*.jpg;*.jpeg;*.png;*.gif" fileRequiredForOutput="true"/>
<file name="img2" label="Выберите изображение:" filterLabel="Images" fileTypes="*.jpg;*.jpeg;*.png;*.gif" fileRequiredForOutput="true"/>
<file name="img3" label="Выберите изображение:" filterLabel="Images" fileTypes="*.jpg;*.jpeg;*.png;*.gif" fileRequiredForOutput="true"/>
<div id="parenr"></div>
for (var i = 1; i <= 3; i++) {
$('#parent').append('<div>{param_img'+i+'}</div>');
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question