Sometimes this script may very useful to every web designers, go back to previous or next page in browser using javascript. here we are going to see how make, go back to previous and next page onclick in browser using javascript. let see the simple code.
CODE
<a href="#" onclick="history.go(-1); return false;"> Click here to Go back to the Previous page </a> <a href="#" onclick="history.go(+1); return false;"> Click here to Go to the Next page </a>
the above simple code make the previous and next page location onClick. history.go(-1); is make go back one time back. similarly we can make change any number, as we need, where to go and how page back. that's what the number mentioned. history.go(+1); is make go to next page in browser.
we can make this in input button also, there also we want to make Onclick function.
i hope this post is very useful to everyone. thank you.
RELATED POSTS:
Most popular posts in 2my4edge
Change text & background color while selecting text using CSS3
Marquee style in different manner with PHP and MySql
My Demos page design details with all my tutorials
Image Zoommer like E-commerce site using multizoom.js
Facebook style Scroll bar using Jquery
Change background image while page refresh using Javascript
Better and Flexible Tooltip using LiteTooltip.js
Currently it sounds like Wordpress is the top blogging platform out there right now.
ReplyDelete(from what I've read) Is that what you're using on your blog?
These are actually impressive ideas in concerning blogging.
ReplyDeleteYou have touched some fastidious things here.
Any way keep up wrinting.
Hi my name is Berry. Few days ago. i published a article about the best gynecological clinic
ReplyDeleteaddress in Hanoi. Hope you read and feedback your review to me.
Tks. Here is my article link: http://bit.ly/2STmuTE
hi, i am Kurtis. Few day ago, i published a great article
ReplyDeleteabout phu khoa. I think it will be usefull for you now.
So if it is right, i can read my article at here:
Hi my name is Madge. Few days ago. i published a article about the best gynecological clinic address
ReplyDeletein Hanoi. Hope you read and feedback your review to me. Tks.
Here is my article link: http://bit.ly/2STmuTE
Hi my name is Bailey. Few days ago. i published a
ReplyDeletearticle about the best gynecological clinic address in Hanoi.
Hope you read and feedback your review to me. Tks. Here is my article link:
http://bit.ly/2STmuTE
What's Going down i am new to this, I stumbled upon this I have found It absolutely helpful and it has aided me out loads.
ReplyDeleteI hope to give a contribution & help other customers like its aided me.
Great job.
Hi my name is Sienna. Few days ago. i published a article
ReplyDeleteabout the best gynecological clinic address in Hanoi.
Hope you read and feedback your review to me. Tks. Here is my article link: http://bit.ly/2STmuTE
Hi there colleagues, fastidious paragraph and good urging
ReplyDeletecommented at this place, I am genuinely enjoying by these.