What do you mean by "code is not working"? Can't really help troubleshoot with that.
Are there any messages appearing in the error console?
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".