You can use the append method to add to the end of the container.
function getFile() { $.get("https://epamekids.imtqy.com/README.md", function(data) { $("#text").append(data); }); }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div id="text"> <button onclick="getFile()" id="button">Get Information</button> </div>
To add after the selected item, and not inside it, you can use the after method
function getFile() { $.get("https://epamekids.imtqy.com/README.md", function(data) { $("#text").after(data); }); }
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div id="text"> <button onclick="getFile()" id="button">Get Information</button> </div>