This javascript produces an error:
missing ) after argument list
In firebug with the code:
<script type=\"text/javascript\">
function add( answer )
{
$.post('../page.php?cmd=view&id=3523',
{user_id: 3523, other_user_id: 2343}, function(d)
$(answer).after(\"<span>Done!</span>\").remove();
});
}
}
</script>
What am I doing wrong?