Monthly Archives: October 2006

October 12, 2006
When not to use this.form.submit()

So ok, I’ve run into this problem in the past where I’m using an onclick event to submit a form from a button control. When you click the button you get a nice little Javascript error stating:
“this.form.submit is not a function”
Bugger…wtf?
This only seems to happen when you have a form element named “submit” already on [...]

October 10, 2006
Paginating with SQL Server 2005

Adam Howitt blogged recently about Pagination made easier with SQL Server 2005, have a read of his post and take the time to implement the solution as most pagination scripts I’ve seen are lazy and don’t perform well…particularly with a lot of content!

October 6, 2006
Regular Expressions in JavaScript

All about regular expressions, particularly for javascript!
click here for more

October 6, 2006
Google code search

Google have come out with yet another fantastic tool, particularly for the developers out there
google code search was released yesterday as a beta in google labs to search for public source code.
You can read more here.

October 5, 2006
double-checked locking

Mark Kruger details a concept (with a little help from Sean Corfield) known as “double-checked locking”, in the example as it pertains to application scoped variables.
The basic premise is that normally you would put <cfif NOT structKeyExists(application, “myVar”)> logic around you setting of application variables. If the application variable(s) didn’t exist you would have a [...]