Hello Milan,
I posted my answer on stackoverflow.
http://stackoverflow.com/questions/13667918/passing-options-to-js-function-with-amber/13668585#13668585Fellow Amber-experts might want to take a look and criticize it :-)
I encourage you to join the amber mailing-list! Very nice and helpful
people around here.
Cheers,
Sebastian
2012/12/2 Milan Mimica <
[hidden email]>: