title: Call jquery $.ajax inside Javascript function
body: <p>I want to call an ajax function to do some stuff...</p>
  
  <pre><code>function RemoveTest(subfolder)
  {
      var datastring="name="+subfolder;
      alert(datastring);
      $.ajax({
      type: "POST",
      url: "mystuff.php",
      data: datastring,
          success: function(msg){
             alert( "Data Saved: " + msg );
                 // some suff there
          }
      }); 
  }
  
  
  &lt;a href="javascript:void(0)" onclick="RemoveTest('test')"&gt;Click Me&lt;/a&gt;
  </code></pre>
  
  <p>I am unable to use this please tell me how to do this.... and which jQuery file i have to include..</p>