I used the following code.
<a href="" onclick="previous(); return false;">Previous</a>
Problem is that it displays everything right but whenever I click on Previous,it disappears and shows the result and doesn’t come back. It does only with refresh.
I have tried same with images, they also disappear showing the result.
Can anyone help me how to display both the quote and previous anchor tag and the same remains after the click on previous?
Example:
The greatest crimes are caused by surfeit, not by want. ~Aristotle
Previous Next
I click on previous, it should show previous quote.
Entering the value of href would solve this!
example:
Mostly it works.