Jquery Back Button
Jquery back button will work same as the browser back button. It will take you to the last web page. I know we have button for it but we can give it a try and see how we can do it through the Jquery. Suppose we have a button and we will click over it to go back.
<input type="button" id="mybutton">
$(document).ready({
$('#mybutton').click(function(){
parent.history.back();
return false;
});
})
You can use anything to click. You can use <a>,<p> etc. Just remember to call this function on their respective events.
Thank You Happy Coding.
No Comments