How to put a string into a text file
<p>I need to put a string into a text file with jQuery. When I press the button it must send the string in a text file. I tried to search but I can't find this specifically. This is my PHP code.</p>

<pre><code> &lt;!doctype html&gt;
   &lt;html lang="eng"&gt;
   &lt;head&gt;
         &lt;meta charset="utf-8"&gt;
         &lt;title&gt;Jquery tests&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;


   &lt;input id="name" type=" text"/&gt;&lt;input id="button" type="button" value="Load"/&gt;
   &lt;div id="content"&gt;&lt;/div&gt;

         &lt;script type="text/javascript" src="js/jquery.js"&gt;&lt;/script&gt;
         &lt;script type="text/javascript" src="ajax.js"&gt;&lt;/script&gt;

   &lt;/body&gt;
   &lt;/html&gt;
</code></pre>
