Hi, I'm having problems trying to show a modal window after the user 
submits correctly a form.
I've tried to do it with:

def index():
....
        if form.accepts(request.vars):
            response.js='$( "#dialog-message" ).dialog({ modal: true   });'
...

being #dialog-message a div in the same index.html page, but response.js 
doesn't do anything, and it seems to work only inside componentes.

Any idea to get this funcionality working?
Thanks.

Reply via email to