Hi,

Thanks for the tip.

I did a little research and found a library that isolates the required code 
from the jQuery framework to do this. I tested it and it is very easy to 
implement.

http://code.google.com/p/domready/

Nice piece of code to keep handy.



Tom DeMeo




On Apr 22, 2010, at 12:17 PM, Aparajita Fishman wrote:

>> Using A4D 4.5 and the Fusebox framework, is there a conventional way to 
>> specify a javascript function with <body onload="...">  for a particular 
>> fuse?
> 
> Use fusebox.head.addJS() to add a javascript file only for a particular fuse. 
> Javascripts experts recommend against using body.onload, because the dom may 
> not actually be ready when that runs. Use jQuery, it has a built-in hook for 
> running code when the dom is ready.
> 
> Kind regards,
> 
>   Aparajita
>   www.aparajitaworld.com
> 
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
> 
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
> Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
> 

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to