I want to call an ajax function to do some stuff...
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
}
});
}
<a href="javascript:void(0)" onclick="RemoveTest('test')">Click Me</a>
I am unable to use this please tell me how to do this.... and which jQuery file i have to include..