My problem is only this last variable - data-apigiud, That is dependent on the for loop, which means I can't put it inside the <ul> tag. I've tried putting it in the <li>within the loop (as below) and in the href below that, but it the value isn't passing. It is for all the data-vars inside the <ul> tag. How do you reference the data-vars in the <li> tag?
My problem is only this last variable - data-apigiud, That is dependent on the for loop, which means I can't put it inside the
<ul>
tag. I've tried putting it in the<li>
within the loop (as below) and in the href below that, but it the value isn't passing. It is for all the data-vars inside the<ul>
tag. How do you reference the data-vars in the<li>
tag?View:
Javascript:
Thank you for your help.
John C