(06-22-2015, 07:13 AM)Wouter60 Wrote: I think I found the problem.
Your view builds up a series of forms (within a foreach { } loop).
All forms have the same name: post_comment.
In your javascript function do_something(), you submit the form with the name post_comment. Since all forms have that name, only the first one is posted.
Now my question is: when the user hits the Enter key, do you want all comment-forms to be posted, or just the one where the user has filled-in some text and hit Enter?
When ever user write comment in particular post .. that post-id , and that post comment will be inserted in to data base show in db...
Thanks for problem finding ....