Category Archives: JQuery

Date Subtraction or Difference

Sometimes you need to know the differences between two dates in days months years whatever. SQL SERVER select datediff(day,date1, date2) as days_diff, datediff(month,date1, date2) as months_diff… Can also do year, quarter, week, hour, minute, and second dateparts. Dates can be … Continue reading

Posted in Code, Coldfusion, Javascript, JQuery, Snippets, SQL | Tagged | Leave a comment

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 | Leave a comment

JQuery Confirm

The standard JavaScript confirm prompt allows you to ask a question and the user can respond with ok or cancel. But suppose you want them to have the choice of sign-up and non-now? This allows you to guide the user … Continue reading

Posted in Code, JQuery | Leave a comment

Applications

I have finally put out my first application – CF Directory. it is a simple database application that houses contact information. Uses a little Ajax + Jquery + Coldfusion to dynamically display the contacts info. See the applications tab at … Continue reading

Posted in Applications, Coldfusion, JQuery | Leave a comment