Help with JQuery and Cake

2009-07-21 Thread Dave Maharaj :: WidePixels.com
I am uploading a file and the script uses name: 'data[Image][image]', to pass the file name to Cake. What I want to do is not use the file name the user enters and change the file name before the page is submitted. I can change the file name server side but then I need to run more queries to

Re: Help with JQuery and Cake

2009-07-21 Thread Dr. Loboto
Impossible. Browser security rules. Javascript can only read input type=file but not edit. On Jul 21, 11:43 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I am uploading a file and the script uses name: 'data[Image][image]', to pass the file name to Cake. What I want to do is