ajaxリクエストを実行しているときに、問題が見つからないかどうかを調べた後、このエラーに遭遇しました。以下のコードがあります。
$('#post_submit').click(function() {
var poster_id = <?php echo $session_user_id; ?>;
//firebug syntax error shows the line below is the problem
var profile_user_id: <?php echo $user_id; ?>;
var post = $('#post').val();
$.post('ajax_submit_post.php',
{
profile_user_id: profile_user_id,
poster_id: poster_id,
comment_type : comment_type,
post: post
},
function () {
$('#status').append('<li class="hide">Posted</li>').hide(1000);
});
});