Right now with my time tracker i have:

FormjDiv
HoursjDiv
Last20itemsjDiv

When I submit FormjDiv it goes away (the lower part of the jDiv), but it
refreshes HoursjDiv on the callback.  At the end of the code for HoursjDiv i
have it trigger FormjDiv to open it up again with a new form (like click the
first top button) and also to refresh contents in Last20itemsjDiv.

There's probably a better way to do this, but this works for now.

-wj

On Fri, May 1, 2009 at 4:52 PM, Ted G <[email protected]> wrote:

>
> On a related note:
>
> What is the best way to trigger a Javascript function upon a jDiv load
> or form submit within a jDiv? For example:
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to