I have the following array
var arr = ['abc', 'efg', 'igj', 'feeu', 'fee'];
I want to do the following two tasks:
Loop through this array and display the text in a div called DIVCont one by one in a continuous manner and a cycle. There should be a gap of two seconds for each word.
My second requirement is to be able to click on the div called DIVClick to display the next word in the array. Each click will fetch the next word in a cycle.
I do not want to use any extra plugin for this.