$.get not get HTML <script tag, making it difficult to display ReCaptcha.GetHtml
I use JQueryUI to display the form in a dialog, however as it has @ReCaptcha.GetHtml
tags scripts, the $.get
does not bring these tags.
It returns:
<noscript>
<iframe frameborder="0" src="http://www.google.com/recaptcha/api/noscript?xxxx" height="300px" width="500px"> </ iframe>
<br /> <br />
<textarea cols="40" name="recaptcha_challenge_field" rows="3"> </ textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
</ noscript>
How do I make an ajax c开发者_运维百科all and return to use these scripts @ReCaptcha.GetHtml
I found this post here on stackoverflow but he continued on his course.
If js is off, you cannot call $.get
or another js function, respectively method doesn't return noscript
精彩评论