<script> var script = document.createElement("script"); script.type = "text/javascript"; script.src = "file.js"; document.getElementsByTagName("head")[0].appendChild(script); </script>
$.ajax({ url: tb_link, error: function(data){ console.log(data); }, success: function(data) { //Действия с ответом } type: "GET", dataType: "text" });
<button onmouseup="tb_main();" onmousedown="tb_cleardiv();">reload data</button>