You don't need to use the body tag as <body onload="javascript code here">

Using JQuery you can include your Javascript in your template and use JQuery
to do stuff onload for you.

On Wed, Nov 10, 2010 at 1:34 AM, Parijat Kalia <kaliapari...@gmail.com>wrote:

> Hey people,
>
> I am trying to have an onLoad event in one of my webpages. But as we know,
> the body tag appears in the layout and not the template pages. So I am
> unable to understand how this can be done in symfony. If this is a little
> out of context, I am sorry, but it's typically straight forward. Offcourse I
> do not want that onload event on my body tag since it would load for all
> pages, but I want the onLoad only for one specific page.
>
> Thanks and regards
>
> Parijat
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> 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<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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