I have a pop up window.On click of a next button in a pop up window,the contents of current `div` must be replaced with another `div` contents.I want to repeat this action repeatedly on click of same next button with another `divs`. How to achieve this?