Rick Faircloth
Member since Feb 26, 2009
- Profile: /members/3007-rick-faircloth.htm
- Comments: 14
Recent Blog Comments By Rick Faircloth
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Apr 14, 2011 at 3:03 PM
@Sasha... Hi, Sasha... glad the comments in the post helped you! I haven't heard of HttpFox, but I'll check it out. *Anything* that helps debugging of AJAX and iFrame work is always welcome. Concerning finding errors generated using the iFrame... I finally figured out that I could look in the HT... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Apr 13, 2011 at 2:40 PM
@Paolo... Yes, you're right. The first submission uses Ben's iFrame approach, with a function call added that triggers a true AJAX call to retrieve the updated data and display it on the initial records display page. So, the iFrame method is used to process the initial form, then the process is h... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Apr 13, 2011 at 2:19 PM
@Paolo... I used Ben's iFrame code for submitting the fields and image, then in the component method I process the image and run the insert query. Then I run another query to get the last_insert_id() of the inserted record (MySQL) and get the data from a query using the last_insert_id() and do one... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Apr 13, 2011 at 1:32 PM
Hi, Paolo... I read your comment to Ben on your approach to returning the data from the submit back to your submitting page by using a struct, etc. I assume you did that to make it possible to display the image on the submitting page after the submission, based on your final comment, "it's qu... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 4, 2010 at 10:51 AM
If you can't post them online somewhere, then just email them to me directly to rick at whitestonemedia .com (Wonder if that little gimmic will keep my email address safe from bots...probably not, but, oh well...)... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 3, 2010 at 12:59 PM
My processing of images and data is now done with modal windows and such, so the HTML, jQuery, and CF are more complex and I've modified my approach to this a lot. My current coding isn't of much help with showing code that very directly relates to Ben's. Is your code (HTML/CF Frontend, jQuery, an... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 3, 2010 at 12:37 PM
What does your CF processing code look like?... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Mar 3, 2010 at 11:27 AM
Hi, Ben & John... I always look in the HTML tab of Firebug to view the content returned to the iFrame. I look in the iFrame itself (after commenting out the code in your jQuery that hides the iFrame) and I can see the entire CF error message. (Took me a looong time to find that message...I didn't... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Jun 19, 2009 at 11:20 PM
Thanks, Ben. I'll test out your suggestion to see if I *really* understand. It seems to make sense, but the proof is in the, uh...modal window!... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Jun 18, 2009 at 10:23 AM
Oh, and btw, I love the way you've incorporated your images of yourself with various people into your site...always fresh and interesting...great idea! Rick... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Jun 18, 2009 at 10:22 AM
Hi, Ben... I think showing you the code that opens the Thickbox modal window will answer your question better than I could. The code below is modified to allow me to add some animation (fades) to the showing and hiding of the window. <script> function tb_fadeIn() { var tb_pathToIma... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Jun 17, 2009 at 9:28 PM
I was able to use this in a recently completed site, but now I want to use this in a jQuery modal window. I'm having problems figuring out how to target the modal window. Anyone tried to use Ben's technique within a modal window? Since the code is just too long and complex to show here, I'd be wi... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Feb 27, 2009 at 1:34 PM
I figured out what the problem was, Ben. The error message, indeed, was code from CF error. The CF error was occurring because I didn't have the path correct for the folder the files would be written to the in the ajax_upload.js file. Now I'm trying to figure out the best way to handle a form wit... read more »
-
ColdFusion, jQuery, And "AJAX" File Upload Demo
Posted on Feb 26, 2009 at 11:34 PM
Hi, Ben... I've been trying to implement your code above, but I keep running into an error that was mentioned in the comments, but no resolution was ever mentioned. After I've browsed and selected two images and click the "Upload Files" button, I get an error in Firebug: "Missing ) in parenthetic... read more »