Archive for the ‘javascript’ Category

jQuery Clear Input

19 Jan 2009 in javascript by Andrew Smith

jQuery has been around for some time now and it has become the javascript framework of my choice, It allows me to now worry too much about writing a bunch of code to meet my target goal. Less is more and solutions that allow you to work faster, better and more productively is definately a good solution.

Continue reading “jQuery Clear Input”

Firebug Console log

13 Jan 2009 in javascript by Andrew Smith

The Firebug console log tool is a really good tool to have and use when debugging javascript, but it becomes a problem when you forget to take out the console.log function and decide to run your site in Internet Explorer. Since Internet Explorer doesn’t have a copy of Firebug you end up with a nasty error that causes some of the functions inside your javascript code to not work.

Continue reading “Firebug Console log”

Client Side Looper

19 Nov 2008 in javascript by Andrew Smith

Javascript is nice to use when you want to get things done on the fly and see the result right away. The client side looper works like how a server side looper would work but without the need of a server side language. This snippet relies on the jQuery library to get the object you would like to loop.

Continue reading “Client Side Looper”