would be fairly easy, just take the download link and attach a onclick or click(depending on straight js or something like jquery) and send a request out to i guess your php page since js isn't gunna mess with db for you.
>I have this button to click to download a file, and an href that >points to the file for manual download or to our client for auto >download and install. If you click the button the download dialogue >box pops up so the file can be downloaded. However I need to update >the database with a count of all files downloaded. So I want to do an >ajax call with a javascript when the button is clicked, then present >the file for download but this has to be a one-click process. My >brain is dead from 32 straight hours of work. Any thoughts on the >best way to handle this? > >No coldfusion...javascript or php. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:304036 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
