responseText contains javascript code and the code doesn't load
问题 The string: <script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6..."></script> comes from a XMLHttpRequest() request, and generated by php, and is then written to a new window with javascipt, but the script is not loaded. The window opens blank, despite the source code contains that string. Can it be a encoding problem? The string is the result of 'echo recaptcha_get_html($publickey)', where is the PHP function provide by the recaptcha script. 回答1: Creating