Give this a shot (no need for frameworks):
<ul>
<li><a href="javascript:loadList('Books')">Books</a></li>
<li><a href="javascript:loadList('Movies')">Movies</a></li>
<li><a href="javascript:loadList('TV Shows')">TV Shows</a></li>
</ul>
<ul id="targetItems"></ul>
<script type="text/javascript">
var items = {
Books: [
{ name: 'Harry Potter', href: 'http://www.harrypotter.com' },
{ name: 'Harry Potter', href: 'http://www.harrypotter.com' },
{ name: 'Harry Potter', href: 'http://www.harrypotter.com' }
],
Movies: [
{ name: 'Inception', href: 'http://www.inceptionmovie.com' },
{ name: 'Inception', href: 'http://www.inceptionmovie.com' },
{ name: 'Inception', href: 'http://www.inceptionmovie.com' }
],
TV Shows: [
{ name: 'Breaking Bad', href: 'http://www.breakingbad.com' },
{ name: 'Breaking Bad', href: 'http://www.breakingbad.com' },
{ name: 'Breaking Bad', href: 'http://www.breakingbad.com' }
]
};
function loadList(index) {
var targetItems = document.getElementById("targetItems");
targetItems.innerHTML = "";
for(var i = 0; i < items[index].length; i++) {
var li = document.createElement('li');
var a = document.createElement('a');
a.href = items[index][i].href;
a.innerHTML = items[index][i].name;
li.appendChild(a);
targetItems.appendChild(li);
}
}
loadList('Books');
</script>