How to change text from documents using jQuery?

remingtonhill1

New Member
So originally I had the following, which allowed me to change text on the click of a link:\[code\]<p id="message">Starting Text</p><a href="http://stackoverflow.com/questions/14540614/#" class="link">Show message #1</a><br><script> var test = 'test text'; $(".link").click(function() { $("#message").text(test); });</script>\[/code\]How could I change this so the text is pulled from .txt documents?
 
Back
Top