Sorry my previous answer was incomplete.
I think onchange is the right method and you are doing the right
thing. Try isolate the problem with _onchange="alert('oops');" and see
if it is an ajax problem, a javsacript problem, or an event problem.
Also look at the generate html to make sure the onchange is there.
Massimo
On Jun 30, 12:16 pm, kozo <[email protected]> wrote:
> Sorry for my newb question,
>
> i have a simple select
> SELECT(*Type, **dict(_name='Type'))
>
> and i want it to fire an ajax action assoon i select an item
>
> i tried
>
> SELECT(*Type, **dict(_name='Type', _onchange="ajax('_search',
> ['Type'],'target')))
>
> but nothing happens
>
> ty all
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---