.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:
- function do_like(link_id) {
- jQuery.noConflict();
- jQuery.post("/cgi-bin/links/like.cgi", {
- LinkID: link_id
- }, function(response){
- alert(response);
- /*setTimeout("finishAjax('"+escape(response)+"')", 400); */
- /*setTimeout("finishAjax('the_rating_box', '"+escape(response)+"')", 400);*/
- });
- }
I don't get any errors, yet it never seems to print the response out :/
Any suggestions?
TIA
Andy