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/

Reply via email to