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

Looking for help getting return values

Explorer ,
Jun 03, 2010 Jun 03, 2010

I'm using a jquery plugin to do a hidden iframe upload. The script is functioning properly up to the 'submit' portion because the process.cfm file is doing everything it should. The trouble is, I can't get the process.cfm to return data to the script.

Has anybody worked with Valums' AjaxUpload plugin with ColdFusion and had success? Is there a server setting in my testing environment I need to be aware of that might be fouling up the works?

For some reason the script never gets the return data to indicate that the work is done and consequently never moves on to the 'onComplete' function.

Thank you for any assistance.

428
Translate
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
LEGEND ,
Jun 03, 2010 Jun 03, 2010

It's difficult to make a sensible comment on this without seeing the code you're running to respond to the jquery request.

What response is the jquery code expecting?  And what are you sending it?

--

Adam

Translate
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 ,
Jun 16, 2010 Jun 16, 2010
LATEST

Adam,

I was able to extract the data I needed from the process.cfm. I was having trouble evaluating the html return data. I'm still trying to figure out how to write the process.cfm so it will return JSON data instead of html but I believe this to be more of a jQuery question, not necessarily a CF question...

Translate
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