On Mar 3, 2008, at 8:18 AM, Rauan Maemirov wrote:

>
> I did as U advised. It displays content correctly. With content I
> loaded form. Now when I'm pressing sumbmit button(it should send
> ajaxrequest and proccess my data. Smth like ajax authorization), it
> return page "Safari can't open the page. The error was: "unknown
> error" ((null):10053)".

Here's what I recall you are trying to do, please correct me if I'm  
missing something basic.

Click a button or other control,
Load a form into a DIV,
Submit that form using Ajax,
Load the response into that same DIV.

Do you have evalScripts: true turned on in your initial updater? If  
not, then the script to run the ajax form request is most likely  
being stripped out when the updater loads the form into the DIV.

I just went through all this on a project I am currently working on,  
and it *can* work very neatly, but you have to keep your head clear  
about where all the script is coming from, and what listeners are  
registered when, and from which script fragment.

Walter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to