Actually nevermind. I just put a body tag right at the top of the template page I require the onload event on and it did execute itself. A quesxtion that can spur off this is ...did including a body tag supersede the existing body tag in the symfony layout page??? Clearly it did not supersede, because the page rendered itself as per the CSS style that is assigned to the Body tag. So I am assuming it simply included the onload event into the existing body tag. Anybody want to shed light on this?
On Tue, Nov 9, 2010 at 3:34 PM, 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 For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en