Display Content div onclick of nav item
<p>Question : Beginner Level
Code: Pure Javascript</p>

<p>I had created a web page in which i am rendering the main nav items via a for loop in javascript. Below the main nav i had created some content assigned each main content div with different ids. </p>

<p>Now i want onclick of any nav item, respective content div should be displayed. please find the jsfiddle link : <a href="http://jsfiddle.net/shabirgilkar/GKLJz/1/" rel="nofollow">http://jsfiddle.net/shabirgilkar/GKLJz/1/</a></p>

<p>May i know how to do that in pure javascript. Any help will be highly appreciated.</p>
