Here is my ajax call:
I even check eval scripts!
users.html:
This is not executing:
<script src="http://api.adscaptcha. com/Get.aspx?Captch aId=1049&Public Key=ac589518-4f4e-4566-ae26-c37c0f535a17" type="text/javascript"></script>
<noscript><fo nt color="red">Ple ase enable javascript!</font></noscript>
What is the solution so the script will run?
Code:
new Request.HTML({
url: 'users.html',
method: 'get',
update: 'go',
evalScripts: true, /* !! Why isn't this working!? */
onComplete: function(){console.log('ajax complete!')}
}).send()
users.html:
Code:
<label><h3>Save data here:</h3> <br /> <section id="load" style="display:none;"> <img src="progress.gif" /> </section> <section id="log"> </section> <table> <tr><td>Data:</td><td> <textarea id="texta" placeholder="Save here." wrap="off" autofocus></textarea></label> </td></tr> <tr><td>Are you human?</td><td> <div id="cap"> <script src="http://api.adscaptcha.com/Get.aspx?CaptchaId=1049&PublicKey=ac589518-4f4e-4566-ae26-c37c0f535a17" type="text/javascript"></script> <noscript><font color="red">Please enable javascript!</font></noscript> </div> </td></tr> <tr><td> </td><td> <input type="button" value="Go" name="submit2" id="start2"/> </td></tr>
<script src="http://api.adscaptcha. com/Get.aspx?Captch aId=1049&Public Key=ac589518-4f4e-4566-ae26-c37c0f535a17" type="text/javascript"></script>
<noscript><fo nt color="red">Ple ase enable javascript!</font></noscript>
What is the solution so the script will run?
Comment