2011-09-29 25 views
0

我使用JQueryUI在對話框中顯示錶單,但是由於它具有@ReCaptcha.GetHtml標記腳本,$.get不帶這些標記。

它返回:

<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> 

如何使一個AJAX調用和返回,我發現this post這裏計算器,但他繼續他的課程使用這些腳本@ ReCaptcha.GetHtml

回答

0

如果JS是關閉的,你不能調用$.get或其他js函數,分別方法不返回noscript

+0

JS是,它通常返回HTML!問題是HTML標籤中的腳本不會返回! – ridermansb