"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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
