Dynamically Changing jQuery UI Accordion Tab Headings

If you're into using jQuery UI (and who's not?) then this is an easy way to change the heading of a jQuery accordion tab style heading to reflect user focus.

[More]

A quick SQL Server tip

Have you ever wanted to quickly migrate selected table data back and fourth from your dev database to your live database? If the answer is yes then this one's for you.

[More]

HELP! Have you ever successfully output a cfchart within a cfdocument?

I have a cfchart (flash format) that works great within a normal cfm page. I'm running CF 8 so I should be able to embed the cfchart within a cfdocument but for whatever reason I cannot. If I change the chart format to png or jpg then I get a red x and if I run it as a flash format I get nothing. Has anyone out there ran into this and lived to tell the tale?

UPDATE: Outputting the cfchart in png format will work if the localUrl attribute is removed (or set to false).

Getting Started with jQuery UI Dialogs

So I've been slowly learning jQuery over the last two weeks and today I wanted to see how I could duplicate the cool overlay style and functionality of a cfwindow. As it turns out, jQuery UI makes this super simple with Dialogs.

[More]

Looking for a MySQL equivalent for SQL Server's ISNULL function?

SQL Server has a well known and widely used ISNULL function that actually replaces a null column value or null subquery value with whatever you specify. For example, if you were to write

 SELECT ISNULL(UnitPrice,0)
 FROM InventoryItem

then you would have zeros returned in your result set for all InventoryItem table records that had a NULL value for the UnitPrice field. Ever tried to do that in MySQL? It doesn't work because MySQL's ISNULL function simply returns a value telling you whether or not the argument to the ISNULL function was NULL or not. Not as cool when compared to SQL Server's nifty replace type of functionality now is it? But wait, no need to talk smack about MySQL - for there is another great and easy to use command in MySQL that will give us the same result!

[More]

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.5. Contact Blog Owner