Thank you.

You're all right. I'm using a bad idea.

Thank you for all.

On Jan 31, 4:24 pm, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
> Hey,
>
> JTristan a écrit :
>
> >  In the second jsp i have functions with the event onLoad but,
> > ajax:updater load the jsp but don't call this functions on
> > javascript.
>
> Because onload indicates a body load, a page load.
>
> If you're loading another page (full page, with html, head and body)
> into an existing page, you're in trouble semantically, to start with:
> your 2nd JSP should produce only the XHTML fragment you need to insert.
>   Then if you need this fragment to run a script once it's loaded, put
> an inline <script> element with it at the *end* of your fragment, and
> don't forget to enable the evalScripts option in the Ajax.Updater call.
>
> If you're loading a full page into a frame or iframe, then what the heck
> do you need AJAX for?!
>
> --
> Christophe Porteneuve aka TDD
> [EMAIL PROTECTED]


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