I have a simple button to post comment like this
<button onclick="postComment('384',this);">Post</button>
in function postComment(post_id,element) :
384 means post_id that be commented
I know user can easily changing '384' number with something else, ie.'1000' with firebug or other developer tools. it cause they comment on post that have an id 1000
how to prevent this?