Advertisement

04.16.2008 at 11:44PM PDT, ID: 23329923
[x]
Attachment Details

Create an AJAX on/off button that updates MySQL with Coldfusion

Asked by monosyth in Cold Fusion Markup Language, JavaScript, WebApplications

Tags: Coldfusion, AJAX

What I have:

- A Coldfusion query that gets a set of rows from my MySQL database.
- These are listings or items that need to be set to active or inactive (on or off)
- Right now all my items are in an html table on a webpage and you have to click, go to another page click and submit a form to turn the item on or off.

What I want:

An (ajax?) button in list of items in the original html table that I can click and it will update my MySQL database individually. It would be great if I could click on it and the whole row turns red and fades back to my white background when clicked 'off', and green and fade to white when i activate it. but i'm getting ahead of myself.Start Free Trial
[+][-]04.17.2008 at 03:15PM PDT, ID: 21381892

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 06:44PM PDT, ID: 21382736

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 07:33PM PDT, ID: 21382916

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 08:39PM PDT, ID: 21383140

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 10:27AM PDT, ID: 21975681

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Cold Fusion Markup Language, JavaScript, WebApplications
Tags: Coldfusion, AJAX
Sign Up Now!
Solution Provided By: monosyth
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628