Iterate through jQuery objects with each()
I always forget how to do break out of the each() method when iterating through a jQuery object. <script type="text/javascript"> /* <![CDATA[ */ $('#rates-frm').submit(function(){ var bValid =...
View ArticleDelete from a Query of Queries
I recently had a problem where I wanted to delete records from a ColdFusion recordset. I often use build query objects on the fly to store data. Unfortunately you can’t use delete or update statements...
View ArticleWhy use ColdFusion?
One question a client asks is “Why do you use ColdFusion?”. So, here are my thoughts… ColdFusion is a proven enterprise level web application server. ColdFusion is owned by Adobe who are responsible...
View ArticleSQL Server Express 2005 and ColdFusion 8
ColdFusion does not connect to the default install of SQL Server Express 2005. After much swearing I discovered that you need to enable TCP/IP (which is disabled by default). To enable it go to Start...
View ArticleUsing CharIndex to get a SubString
If you need to extract part of a string based on the index of a character in SQL, then you can use the CharIndex function and the Substring function. This works the same as the Find & Mid functions...
View ArticleFusebox 5.5 Application.cfc and webservice bug
I just discovered a bug in Fusebox 5.5.1. You can replicate it by downloading the sample application from Fusebox.org. If you create a CFC at the same level as your Application.cfc and call it as a...
View ArticleFusebox powered blog
I’ve finally got round to writing my own blog web app. It is built on Fusebox 5.5, using the new implicit cfc based circuits instead of the traditional XML method. You can see my new blog at:...
View ArticleGetting MS SQL Database size using ColdFusion
Someone asked how to retrieve the size of all MS SQL Server databases using Coldfusion. There is a handy built in stored procedure called sp_spaceused which will do the job for you. You can view the...
View ArticleCreate a Random List in ColdFusion
A post on how to randomise a list with ColdFusion: http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/create-a-random-list-in-coldfusion-38 *update* I’ve found a comprehensive post by...
View Article
More Pages to Explore .....