Hello everyone,
I have jQuery ajax requesting a page that returns html with <script>
tags inside that html, I have the dataType option set to "html" so that I get the JS inside the <script>
tags executed, this works fine but the problem that it takes the browser from 2-3 seconds to evaluate the returned JS after the ajax response, why is the delay? it causes JS errors for users in hurry who try to click buttons immediately after the ajax response.
Please help.
Thanks.