Take a look at the AjaxForm plugin for jQuery. You need to submit the
form using AJAX as well.

On Sep 18, 10:15 am, 浪漫様 <[email protected]> wrote:
> i don't think that is the problem... facebook can do it without
> iFrames and works perfectly no matter what browser.
> moreover... i'm talking about same domain's forms... nothing to do
> with external domains.
> if i'm building a facebook-alike social networking, and when clicking
> on a user's link i want to open a pop-up ajax window to send message
> to him... where is the cross-domain issue?
> thanks for the reply : ) just i think you confuse the topic
>
> Rohman
>
> On Sep 18, 3:50 pm, wirtsi <[email protected]> wrote:
>
> > I think you are running into the "same-origin-issue" ... most browsers
> > only allow ajax-requests so the same domain. Check out this 
> > posthttp://www.petefreitag.com/item/703.cfm
>
> > With iframes you can post data freely to any other domain. I'd just
> > like to mention here, that if you want to post uploaded files, you'll
> > also need an iframe form since you can't upload files via ajax calls
>
> > On 18 Sep., 09:12, 浪漫様 <[email protected]> wrote:
>
> > > hello all,
> > > i had been successful on sending forms via ajax on a view and updating
> > > some divs instead of reloading the page without much problem, however,
> > > when the form is located on a facebook-like ajax pop-up div, the page
> > > is always reloaded on submission... and that's not what i expected...
> > > i found a solution that is to place an iFrame with the ajax form
> > > inside the ajax window... however, i would like to be able to do it
> > > without iFrames... just like facebook or other sites does.
>
> > > do somebody know any way to accomplish that? all examples, codes,
> > > etc... i had been trying or finding online ( even using JQuery plug-
> > > ins like Boxy, or doing it myself with same result ) has the same
> > > behavior... so i can not do data validation on ajax div-window's forms
> > > or just simply send a 'whatever action done' message after submission.
>
> > > thanks in advance.
>
> > > Rohman
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to