Why javascript function not working from content page onload?

Argentos97

New Member
I am using ASP.NET 3.5.I have a content page and I want to call a javascript function on this page's load event.I tried adding:onload="GetLocalDate();"within the content page placeholder tag, but it is not working. But when I call this function from any button's OnClientClick event, it works.How to make it work on Content Page's load event?
 
Back
Top