In a custom widget I want to display the contents of an output array one element per line. Currently the output in the widget's panel is:
RESULTS: 21N29W160,21N29W210
this is the js line that passes the array:
<SPAN class="keyword token">this</SPAN><SPAN class="punctuation token">.</SPAN>Quart<SPAN class="punctuation token">.</SPAN>innerHTML <SPAN class="operator token">=</SPAN> <SPAN class="string token">'RESULTS: '</SPAN><SPAN class="operator token">+</SPAN>Quarter<SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
this is the html line:
<SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"><</SPAN>div</SPAN> <SPAN class="attr-name token">data-dojo-attach-point</SPAN><SPAN class="attr-value token"><SPAN class="punctuation token">=</SPAN><SPAN class="punctuation token">"</SPAN>Quart<SPAN class="punctuation token">"</SPAN></SPAN><SPAN class="punctuation token">></SPAN></SPAN><SPAN class="token tag"><SPAN class="token tag"><SPAN class="punctuation token"></</SPAN>div</SPAN><SPAN class="punctuation token">></SPAN></SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
eventually each output line will be a link using a specific element of Quarter for the path and name.
Thanks in advance!