How to use browser back-button functionality with JavaScript
by iampeterbanjo on February 28, 2010
Use jQuery BBQ plugin in combination with hash change plugin to listen for window has change events.
Let’s assume that you have a button with an ID of ‘button’. Let’s assume it does something useful like close a pop-up but it can do anything really.
e.g.
What’s with the Array.join(‘’) method?
Well I learnt from Google that this method is faster than concatenating a string with ‘+’. I’m always learning new ways to write better code.
One comment
What a simple tutorial for us to understand that easily! Thank you for posting this blog, it was a BIG help.
by Business Catalyst on October 21, 2010 at 17:56. #