what i get on firebug is:$(".ul_container_div").find("li").click(function (){
var a = $(this).text();
$.post("ajax.php",
{
test:a
}
,function(data){
console.log(data);
}
,"json");
});
i have been working with .post , .get , .ajax but not with JSON , so is this a good start to start with? if not what can i improve?$test["test"] = $_REQUEST["test"];
echo json_encode($test);