Posts Tagged “javascript”
Test Driving TDD
by iampeterbanjo on July 27, 2011
I have become inspired and convinced by the idea of test driven development. Kent Beck said it best when he said – We write code because that is our work and we write tests so that we know when we (…)
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 (…)