title: How can I "append" html to a view in nodeJS?
body: <p>I have an array of data in NodeJS that I am attempting to "append" to a view (.ejs file) which is already full of html. I'm using the &lt;%= %> system to render the file and pass the data through. This would be simple for me to do however the number of variables in the array are constantly variable (I.e. Sometimes it has 5 objects, sometimes 3). It would be easy to hard code the &lt;%= %> elements if it was consistent but as it is not, I am looking for a way to "append" html tables to the view. I have seen some examples of this but those examples use different methods of rendering to the client which I cannot incorporate into my system. Any help would be appreciated. I'm sorry if this is not clear or if this question already exists but I could not find any questions anywhere that suit my solution and I am getting desperate. </p>