javascript - Submit Captcha correctly and close my floating popup -


I have a flying popup that loads when the page loads and closes when I hit "off" So I want to add a form on it to populate the captcha correctly and stop my floating popup popup I found "hide popup ();" Inside javascript as the closing ceremony. And I tried the following, but every time I submit my form, the page reloads and popup appears. I think the popup just stops when I "submit" without reloading my code Pressed

  & lt; Form & gt; & Lt; Script type = "text / javascript" src = "http://www.google.com/recaptcha/api/challenge?k=6Ldgse4SAAAAANV-J3bHQbm75XukolyZclhvJfIy" & gt; & Lt; / Script & gt; & Lt; Noscript & gt; & Lt; Iframe src = "http://www.google.com/recaptcha/api/noscript?k=6Ldgse4SAAAAANV-J3bHQbm75XukolyZclhvJfIy" height = "300" width = "500" frameborder = "0" & ​​gt; & Lt; / Iframe & gt; & Lt; Br / & gt; & Lt; Textarea name = "recaptcha_challenge_field" rows = "3" cols = "40" & gt; & Lt; / Text field & gt; & Lt; Input type = "hidden" name = "recaptcha_response_field" value = "manual_challenge" /> & Lt; / Noscript & gt; & Lt; Input type = "submit" value = "submit" onclick = "hidePopup ();" / & Gt; & Lt; / Form & gt;  

See my popup live there

1- form me Specialty "OnSubmit"

  & lt; Onsubmit = "return false;" on the form & Gt; 2- I have to use cookies to store some information about the status of the form (whether it has been submitted before or not). See 

3- Then I should submit the program using

.

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -