Julius,

Unless you are performing a server side lookup why not decide the
dialog to present using a clientside if or switch in javascript?

On Jul 10, 8:56 am, Julius Minka <j...@minka.sk> wrote:
> Hi all,
>
> I have a javascript function in html file which is usually called from
> onclick event in the same file. It works fine.
> However I would like to call this javascript function from a controller.
>
> More precise description:
> after clicking an element in the page, the flow goes to controller.
> There I decide which dialog to display (I have it working to this
> point), but it is defined again in html file as jquery dialog opening
> with .dialog("open");
>
> How to do it?
> Julius
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to