Re: Image Upload

2012-04-02 Thread aSh!Q's
y previous code help me upload my picture . If not, What is the best way On Monday, 2 April 2012 01:56:45 UTC+5:30, Miles J wrote: > > You can't save files with AJAX. Are you using a JS script that's using the > iframe hack? > > On Saturday, March 31, 2012 12:41:41 PM U

Image Upload

2012-03-31 Thread aSh!Q's
I wanted to upload a picture of the user via ajax. I checked the media plugin but found it a little bit hard seeing all those instructions. Is there any better way ? What is the best way ? I was thinking of using the submit option of the jshelper . And i created the following page. Form->cre

Re: JS->Submit

2012-03-17 Thread aSh!Q's
What i learned is that in cake 1.3 the Js->submit button submits the form to the same action of the same controller. So in the controller you will have to check if the request is an ajax request and save the form contents. Hope that would work. On Saturday, 17 March 2012 14:00:08 UTC+5:30, Crot