Category Archives: Javascript

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

Javascript – Test if form element exists

var myobj = document.form.fieldname; if (myobj != null || myobj != ‘undefined’){ //do something }

Posted in Code, Javascript, Snippets | Comments Off on Javascript – Test if form element exists

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