OK, so you want to use
$.ajax, but you’ve got no
maybe you’re running as a guest on the page (a “widget”/ a “bookmarklet”/ …)
how do you load jQuery, do you inject a
<script> and timeout?
or maybe using the onload/onerror?
even after the jQuery script done loading, there is still an overhead of the framework and the page running other tasks, that might delay the addition of the jQuery framework to the DOM,
but your CODE CAN START RUNNING ANYWAY!!
the following approach may be used on ANY FRAMEWORK!