With all the work I have been doing with the new ajax features lately, I am spending a lot more time dealing with JavaScript than I used to. I found this neat script out there that is basically a JavaScript version of ColdFusion's CFDump tag.
With all the work I have been doing with the new ajax features lately, I am spending a lot more time dealing with JavaScript than I used to. I found this neat script out there that is basically a JavaScript version of ColdFusion's CFDump tag.
I recently found a FireFox Add On called FireBug (https://addons.mozilla.org/en-US/firefox/addon/1843) and it has been super helpful to me and I highly recommend it to any of you out there that work with JavaScript and/or CSS. When you install it you can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.
I was working on a project yesterday, and I was using an editable CFGrid to manage a list of data. On my form I wanted to create a button with an onClick event that would take the data from the selected row in my CFGrid , and then do some processing and update that row on the CFGrid and in the database automatically. To do this I needed some way to update the data in a specific cell on the grid,
I was working on some code today in CFEclipse, and I had to edit a .js file. Turns out, unless you like editing your JavaScript files in black and white, you need to add a plug in for that too. I did a Google search and there are a whole bunch of JavaScript plugins out there. One of them caught my eye though because it was from our friends at Adobe Labs. http://labs.adobe.com/technologies/jseclipse/
I installed it easily and now my .js files are nicely color coded. Hooray
There are many new AJAX functionalities included with CF8 and I am going to start to share some small things I have found useful. I will title these blog entries so they all start with "CF8 AJAX Features".
This first example shows a page that is using cflayout area "left" to display an html cftree that contains a hierarchical structure of categories (this could also apply to a page/sub page navigation system if you wanted to use cftree for that) and a cflayoutarea "center" that displays the child categories of the selected tree node.