you might wanna try "document.onDomReady"

On Tue, Feb 10, 2009 at 8:16 AM, Sumedh <sumedh.inam...@gmail.com> wrote:

>
> No...we aren't using anything like jQuery...
>
> It's a simple html body tag defined in the template...
>
> After the error is handled, the template gets re-executed...but the
> body tag is rendered without the onload attribute it had before form
> submit... :(
>
> I didn't find this behavior in the documentation... :|
>
> On Feb 10, 12:22 am, Bernhard Schussek <bschus...@gmail.com> wrote:
> > Do you use any kind of Javascript framework? If yes, those mostly
> > provide handlers for the document load event (f.i.
> > $(document).ready(function() {...})) in jQuery. This way, you can
> > decouple the onload handler from the body tag and just need to link
> > the Javascript file where the handler definition resides.
> >
> > I hope this helps.
> >
> > Bernhard
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to