.post AJAX issues

.post AJAX issues

Hi,

I'm trying to write a VERY basic AJAX function, which will call like.cgi?LinkID=1234

This is it:

  1. function do_like(link_id) {
  2.       jQuery.noConflict();
  3.       jQuery.post("/cgi-bin/links/like.cgi", {
  4.             LinkID:  link_id
  5.           }, function(response){
  6.             alert(response);
  7.             /*setTimeout("finishAjax('"+escape(response)+"')", 400);     */
  8.             /*setTimeout("finishAjax('the_rating_box', '"+escape(response)+"')", 400);*/
  9.     });   
  10. }

I don't get any errors, yet it never seems to print the response out :/

Any suggestions?

TIA

Andy