I have an array in JS that I get from c# back end as...
<script>
var categoryLists = <%= this.javaSerial.Serialize(this.categoryList) %>;
</script>
And my HTML is
<div id="categories">
</div>
What is the best way that I can display the contents of the JS array in the div with id as categories?
PS- I am open to both JS, and Jquery. I also have a huge c# backend.