Board Thread:Code Review/@comment-33297154-20180823160741/@comment-33297154-20180823172900

Cheers for that. Works fine now, getting the desired output. And best of all, don't have to play around looping expand templates repetitively since it works in one go, too.

Basically i'm running ajax to get some categories in a self-contained loop, with the option to add, remove or filter the results from the array (it loops over the child divs of the main container) then sending them out to a template set up by the output div which uses what we used just now to parse it. basically just adds each result as an arg so i don't have to modify the js to get different outputs.