You can't upload a file via an ajax window. It's a browsr restriction as far as I know. The trick is to embed a hidden iframe and do the file upload there. Also, there's a handy jquery plugin which takes care of this:
http://jquery.malsup.com/form/ -Jake Sent from my Droid On Jan 31, 2011 8:01 AM, "Tim Do" <[email protected]> wrote: Has anyone run into an issue when uploading a file within a cflayout? After submitting, I get a element is undefined in form. When I take my form out of cflayout it works fine. Any ideas?? Thanks! Tim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

