Contact Me
Resources
Development Tips & Code Library
-
Recent Entries
Blogroll
Category Archives: Problems & Fixes
The problem with setting defaults
Suppose you have a nice little yes/no selector on a form. And while you are testing you set the default value as “n”. Someday someone will come along and switch all the values to “y” in your database, and you … Continue reading
Posted in Coldfusion, Problems & Fixes
Comments Off on The problem with setting defaults
JQuery DatePicker Plugin
I had the need for a calendar datepicker in a recent project and could not use Coldfusion’s input datefield. I am building the form on the fly and loading form elements from a database using a CFC and a bunch … Continue reading
Posted in Code, Javascript, JQuery, Problems & Fixes
Comments Off on JQuery DatePicker Plugin
Javascript User entry validation
I have a form with an ID input box. If the id is less than 6 characters i want to disable the submit button until it reaches the 7th character. What I found was that users sometimes Type their id, … Continue reading
Posted in Code, Javascript, Problems & Fixes, Snippets
Comments Off on Javascript User entry validation
horizontal menu challenges
I needed to implement a self contained Horizontal menu that shows the user which section they are in by using a highlight that is different from the rest of the menu bar. No breadcrumbs. Using coldfusion allowed me to do … Continue reading
Posted in Code, CSS, Problems & Fixes
Comments Off on horizontal menu challenges
Coldfusion and Pausing Javascript
I had an interesting problem this week. I had a page with a CFQuery, a CFLoop to output the query, and a javascript function. The problem was that the javascript function was occurring before the loop would draw the output. … Continue reading
Posted in Code, Coldfusion, Javascript, Problems & Fixes, Snippets
Comments Off on Coldfusion and Pausing Javascript