[jQuery] $.post
[jQuery] $.post
can be a lazy question, but i can go through.
I met jQuery today and i want to try a simple post or get.
my doubt is how to send the id of the clicked <li> element?
$("li").not(".titulo").click( function(/* does anything goes here? <------------- doubt */){
//$(this).hide("slow");
$.post("remove.cfm",{
id: /* id of clicked <li> <------------- doubt */
},function(){
$(this).hide("slow");
});//end function / .post
}); //end onclick
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/