follow = {
add : function(PHPSESSID,category) {
var streamuserid = jQuery('#stream-userid').html();
var url = '/account/follow_update.php';
var pars = 'PHPSESSID=' + PHPSESSID + '&category=' + category + '&action=add';
var myAjax = new Ajax.Request(
url,
{
method: 'post',
parameters: pars,
onSuccess: function(Req)
{
// var LoginInformations = Req.responseText.split(',');
var response = Req.responseText;
if (response>=1) {
alert('success');
jQuery('#follow-count-books').html(response);
stream_update(PHPSESSID,event_id,streamuserid);
}
}
});
}
}