I've got protect_javascript set to no, here's what I'm trying to do...I'm trying to insert a proform form (blog subscribe) after the 2nd paragraph in every blog post. I've got this:
<script>
$( ".blogbody p:nth-child(3)" ).after( "{exp:proform:simple form='blog_subscribe' thank_you_url='/page/thank-you-for-signing-up'}" );
</script>
However, it renders immediately in the footer (where the script is) and breaks the javascript. Anyone have a clue how to fix this?