On Sat, Oct 25, 2008 at 7:04 PM, Martin Scharrer
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> I'm planning to write a Trac plugin which needs to execute a javascript
> function on load, i.e. <body onload="func()">.
Trac is using jQuery, so you'd better use jQuery infrastructure to
perform initialization.
For example, something like
jQuery(document).ready(function($) { ... }
See jQuery web site for examples.
HTH,
Manu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---