Programming
Creating modal popup’s in ColdFusion
by Ryan French on Jun.09, 2010, under ColdFusion, Javascript, Programming
One of the great things about my new job is that I am constantly running into little problems that I am having to figure out, and some of them are interesting enough that I’m going to try and post what solutions I can here, so that hopefully it can help other people with similar problems.
One issue I came across recently was creating modal popup’s in ColdFusion, so that a user could click on a button, fill out a form, then when they submitted the appropriate part of the form was reloaded, and they never had to navigate away. The example that I am going to use is a standard select box with a list in it and a button that opens the window to modify the contents of that list.
To do this we will be using a cfwindow. For this example I’ll assume you already have the page that you would like to display in the window, and have some basic CFML and Javascript knowledge.