• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Cold Fusion / Ajax help

Explorer ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

HELP!

I need this ASAP. I am trying to do some AJAX stuff with Fusion and am under the gun. I've been doing tutorials and I get it, but I just cant get it to work for what I need. I am basically trying to do an Excel like application where a bunch of fields are spit out to the user in table form much like Excel. The fields are all editable, but instead of submitting the entire form with ALL of the fields, I need each form field to edit itself via AJAX onBlur. So when the user edits a cell and goes to the next cell, the contents of the cell get sent to a receiving page via AJAX and the field will get updated in the database on the fly. But the catch is that I need to pass both the NAME of the field to be edited AND the value of the field to the processing page because all of the fields are being generated on the fly and are not hard coded. So I will need to pass the fieldname, the value of the field and the record ID to the processing page and do the update without the user leaving the page. I am close but I keep getting script errors and I just don't know where they are coming from.

THANKS!!
TOPICS
Advanced techniques

Views

283

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

1. add a + between the string '&nocache=' and the variable nocache in the updateUser function.

2. close the up updateUserReply function with: }

3.remove the extra quotation mark in <div id=""ajaxResponse">

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

LATEST
That was it! THANKS!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation