Hi.
I am trying to send my logged in users details along with this request, as I am making use of a if else endif
statement on the requested page to render some buttons, ie "add a new item"
My jQuery code looks as follows:
$('.wall').click(function(){
$('#loading').show();
$.get(this.href, { request.user: request.user }, function(data){
$("#wall-tabs").html(data);
$('#loading').hide();
});
$(".wall").find("span").removeClass("selected");
$(this).find("span").addClass("selected");
return false;
});
This $.get(this.href, { request.user: request.user }, function(data){
seems to break it, however if I remove the data in between the brackets it works, but I am not seeing the buttons...