I'm using some external jQuery with $(document).ready() to insert adverts after the document ready event has fired, something like:
$(document).ready($('#leaderboard').html("<strong>ad code</strong>");
This is to prevent the UI being blocked by the slow loading of the adverts. So far it's been working well.
Now I need to insert some more ads though our CMS system, this can't be part of the external JS file, so I'm wondering can I use a second document ready event and insert it using an inline script tag? If so, what will be the order of execution the external JS document ready event first or the inline script?