Data upload function:
function ShowData(event) { event.preventDefault(); $('#divTXT').load('text/company.txt'); } html for upload:
<div id = "divTXT"> Сюда подгружаются данные TXT </div> After loading, the source text in the div is replaced with the loaded one. How to make the div was: source code + loaded?