Thanks for your comment Mukhamad, but... i never said anything of uploading files... i was talking about sending simple forms :P also facebook never upload files in ajax popups... they use java applets or simple forms.
Rohman On Sep 19, 12:19 pm, Mukhamad Ikhsan <[email protected]> wrote: > recently my friends explore about how to upload file via AJAX, but he founds > that AJAX can't upload a file (look the on the W3C description about > XMLHTTPRequest). about upload file without creating iframe, we need other > mechanism like using java applet or flash, and for facebook my friend tell > me that facebook using java for uploading the file, but i'm not checked > before about that. > > > > On Sat, Sep 19, 2009 at 10:16 AM, 浪漫様 <[email protected]> wrote: > > > "cheating by using an iframe doesn't mean you're submitting your > > dialog-forms by ajax" > > -> well, i didn't say i was using an iFrame to do ajax :P i know it > > doesn't work like that... i only said that as i couldn't do the > > ajaxForm on the popup window, the solution i found was using an iFrame > > to send the form as a normal form... but as you may think, i didn't > > like that solution... that's why i asked how to do it with ajax > > instead of iFrame :P hehe > > > thanks anyway, > > > Rohman > > > On Sep 19, 2:05 am, AD7six <[email protected]> wrote: > > > On 18 sep, 15:13, 浪漫様 <[email protected]> wrote: > > > > > no problem. thank you anyway > > > > > Rohman > > > > Walter and Bert have already given you your answer (yes, I've read > > > your question and no, cheating by using an iframe doesn't mean you're > > > submitting your dialog-forms by ajax) > > > > Seehttp:// > > docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st... > > > to understand why your ajaxforms work when they are in the first http > > > request, but don't if they are part of an ajax response. > > > > hth, > > > > AD > > > PS. why, especially if you're using jquery, are you using a helper to > > > write such ugly js :)? > > > Something you might want to use as a comparison: > >http://trac.assembla.com/mi/browser/branches/mi_js/jquery.mi_dialogs.... > > > Which, is the same js code (more or less) on book.cakephp.org - which > > > will probably serve as a useful example to follow > > -- > Mukhamad Ikhsan > +6281572181283 > Y!id:ikhsan.onlyhttp://www.diodachi.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
