If your using turbogears you don't have to worry much with the
javascript.  The moviedemo tutorial will show the python code used for
tw widgets.  I am new to this also(since Dec 2008).  I have learded
the tg is great, but it is improving and changing so fast the docs may
stay a little behind.

On Mar 19, 5:35 am, Michael Pearce <[email protected]> wrote:
> Can someone please advise how to initiate a javascript function from a TG
> Widget. I have a WidgetList containing a number of widgets, including a
> SingleSelectField which is rendered as a standard html select control. In
> normal html code I would use the onchange function to initiate a javascript
> function. But how do you do this with a widget? How do I access the onchange
> function within the SingleSelectField object? Is there a parameter that I
> can use to initiate the onchange function? There's not much documentation on
> this. Any assistance would be greatly appreciated.
>
> Rgds,
> Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to