Recaptcha within a JQuery dialog

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Recaptcha within a JQuery dialog

Sebastia Van Lacke
Hi, I am trying to use recaptcha within a jquery dialog by using this code:

    | id |
    html div
         id: (id := html nextId);
             script: (
                html jQuery new dialog
                    html: RSRecaptchaComponent new;
                    title: 'Recaptcha Dialog';
                    resizable: false;
                    autoOpen: false;
                    modal: true).
            html anchor
                onClick: (html jQuery id: id) dialog open;
                with: 'Register to Conference'

For some reason jQuery removes the script tag rendered by the recaptcha component, therefore the captcha is not showed.

Any idea?

Sebastián



--

sebastian van lacke | web developer caesar systems | see clearly. decide smarter.

[hidden email] | t: +1.281.598.8790 | t: +54.11.4389.0126 | petrovr.blogspot.com | www.caesarsystems.com 

This message and any attached documents contain information from Caesar Systems LLC that may be confidential/trade secret and/or privileged. If you are not the intended recipient, you may not read, copy, distribute or use this information. If you have received this transmission in error, please notify the sender immediately by telephone or by reply e-mail and then delete this message.



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Recaptcha within a JQuery dialog

Paul DeBruicker
On 07/26/2011 03:39 PM, Sebastian Van Lacke wrote:
>      html div
>           id: (id := html nextId);
>               script: (
>                  html jQuery new dialog
>                      html: RSRecaptchaComponent new;
>                      title: 'Recaptcha Dialog';
>                      resizable: false;
>                      autoOpen: false;
>                      modal: true).


Does changing the above to:

     html div
         id: (id := html nextId);
         script: (
                 html jQuery new dialog
                     title: 'Recaptcha Dialog';
                     resizable: false;
                     autoOpen: false;
                     modal: true);
        with:[ html render: RSRecaptchaComponent new].



fix it?
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside