I need to add a script source within a div element. For instance I have the following
<div id="recaptcha_div" class="controls">
// script should go here
</div>
The script is as follows
<script type="text/javascript" src="https://www.google.com/recaptcha/api/challenge?k=6Lcc4OYSAAAAABTEzBumk7dNbnpKbpC3JhVdi2yU&hl=en_US"></script>
How can I achieve this with JavaScript or jQuery ?