Javascript onload

classic Classic list List threaded Threaded
1 message Options
spadekevin spadekevin
Reply | Threaded
Open this post in threaded view
|

Javascript onload

Hi,

I've modified the create account action by overriding the Dataface_Create_Account.html template. I'm interested in performing some javascript actions when the page loads, however none of the typical methods of signing up for the onload event are working for me.
My javascript is simply in the head of the file, is surrounded by the {literal}{/literal} tags to protect it from smarty, and my other javascript functions are working so I'm sure it's not an error in the file. It's more likely the context that xataface has already set up for the page to be loaded in.
Can anyone possibly explain to me how to sign up for the onload event from within a xataface overriden template?

Please help.

I didn't find the right solution from the Internet.

References:-
http://xataface.com/forum/viewtopic.php?f=4&t=7111
Business Infographic Examples

Thanks!