Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [jQuery][reCaptcha]load() i błąd
matrik
post
Post #1





Grupa: Zarejestrowani
Postów: 115
Pomógł: 2
Dołączył: 23.07.2009

Ostrzeżenie: (0%)
-----


Czemu jak generuje treść przez bibliotekę jQuery element reCaptcha to tworzy się błąd?
Strona robi się biała i cały czas się ładuje - takie są rezultaty...
Czy to się robi tak, jeśli ładuje plik biblioteki captchy?

Wklejam ten kod:
  1. <script type="text/javascript">
  2. var RecaptchaOptions = {
  3. theme : 'custom',
  4. custom_theme_widget: 'recaptcha_widget'
  5. };
  6. <div id="recaptcha_widget" style="display:none">
  7.  
  8. <div id="recaptcha_image"></div>
  9. <div class="recaptcha_only_if_incorrect_sol" style="color:red">Incorrect please try again</div>
  10.  
  11. <span class="recaptcha_only_if_image">Enter the words above:</span>
  12. <span class="recaptcha_only_if_audio">Enter the numbers you hear:</span>
  13.  
  14. <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
  15.  
  16. <div><a href="java script:Recaptcha.reload()">Get another CAPTCHA</a></div>
  17. <div class="recaptcha_only_if_image"><a href="java script:Recaptcha.switch_type('audio')">Get an audio CAPTCHA</a></div>
  18. <div class="recaptcha_only_if_audio"><a href="java script:Recaptcha.switch_type('image')">Get an image CAPTCHA</a></div>
  19.  
  20. <div><a href="java script:Recaptcha.showhelp()">Help</a>
  21.  
  22. </div>
  23. <script type="text/javascript"
  24. src="http://www.google.com/recaptcha/api/challenge?k=6LfczwsAAAAAAPVdJ5Ks6dlUwjCu45iDuh3lLlUI">
  25. <iframe src="http://www.google.com/recaptcha/api/noscript?k=6LfczwsAAAAAAPVdJ5Ks6dlUwjCu45iDuh3lLlUI"
  26. height="300" width="500" frameborder="0"></iframe><br>
  27. <textarea name="recaptcha_challenge_field" rows="3" cols="40">
  28. <input type="hidden" name="recaptcha_response_field"
  29. value="manual_challenge">

w plik, ktry zostaje wyświetlony poprzez wygenerowanie w JS. load()

i robi się błąd. Co jest grane?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 16:07