Using Javascript to handle visibility can sometimes be cumbersome. For small applications it is easy to throw a few hide()'s in a script tag and not worry about maintainability. As the application grows however, it becomes harder to track the state of the DOM and you end up with ...

  • Tue, 18 Mar 2014
  • Posted by jason
Read more...
27 Feb

JS debouncing

  Let us say you have a rather expensive ajax call that you want to make only when necessary, but you also need it to be bound to a mouseover event. How do you gauruntee that it will only be called once? What if the user hovers multiple times? What if ...

  • Thu, 27 Feb 2014
  • Posted by jason
Read more...