Sorry, I Made a mistake, I pasted the same patched code twice.
The original function is:
function alter_ul_post_values(obj,post_id,ul_type)
{
jQuery(obj).find("span").html("..");
jQuery.ajax({
type: "POST",
url: "<?php echo plugins_url( 'ajax_counter.php' , __FILE__ );?>",
data: "post_id="+post_id+"&up_type="+ul_type,
success: function(msg){
jQuery(obj).find("span").html(msg);
}
});
}