I just can't seem to get my head around the processing flow for an ColdFusion and Ajax-based login using a Shadowbox modal window...
Does anyone know of any tutorials that show how to use ColdFusion, jQuery, and a modal window (doesn't have to be a Shadowbox) for login? I found a tutorial by Ray Camden, but Ray's tutorial uses CF's built-in Ajax functions, and I'm trying to use jQuery... Uses something like the following pages: - index.cfm - login.cfm (opens inside modal window if user not logged in) - process_login.cfm (uses something like the following code) <cfset mdata = createObject("component","manager_data")> <cfset thedata = mdata.getmanagerData(form.email_address, form.password)> <cfset ojson = createObject("component","cfjson")> <cfset results = ojson.encode(thedata)> <cfoutput>#results#</cfoutput> - manager_data.cfc (runs query to check login info) - cfjson.cfc I've been trying to figure out how to do this, but I've been working from two different tutorials that take different approaches to Ajax usage and I can't make sense of them together. Is there anything out there that I could turn to? I've been all over Google and elsewhere. All the examples I've found use PHP!!! HEEEELLLLLLP! I want to understand Ajax! I want to be smart! (please :o) Rick