Hi list,
I'm sorry about my recent spamming, I'm just starting here...
I'd like an action to be triggered when an option is selected in a dropdown box, here's what I'm trying:
^ [: html |
html form build: [:form |
form select build: [:select |
self languages do: [:each |
select option text: each;
action: [Transcript show: 'whatever']
]
]
]
]
But it doesn't work, I also tried sending onSelectDo to both the option and the select, without luck. What's the proper way to do this?
Thanks!
Bernat Romagosa.