javascript - Open a popup using on_sent_ok using Contact Form 7 and Ninja Popups? -


i using wordpress contact form 7 , ninja popups. open popup when form sent using cf7's additional settings. have tried:

on_sent_ok: "snp_open_popup(’’,’’,’snppopup-content-popupid’,’content’);" 

(where popupid id of ninja popup want open) not working.

some javascript examples call popup using ninja popups:

popup_id=’25’ ;snp_open_popup(’’, ’’, ‘snppopup-content-’ + popup_id, ‘content’); 

or

jquery(“selector”).click(function(){ return snp_open_popup(’’,’’,’snppopup-content-popupidhere’,’content’); }); 

this used ninja popup shortcode inside page/post content: [ninja-popup id=xx] or

onclick=”return snp_open_popup(’’,’’,’snppopup-content-popupidhere’,’content’); ”  

and [ninja-popup id=xx] in page content.

i figure this, there has way call popup using on_sent_ok haven't been able figure out.

any appreciated - thanks!


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -