Currently users can post comments on someone's profile. When they hit submit, the page is refreshed. This can be annoying since we know a page refresh isn't needed, and since there may be a music player on the person's page so refreshing the page stops the music and then restarts the player once the page loads.
The way it should work is since the textarea form is right above where the comment will end up, ajax should be used to post the comment and the results (row being added) should be seen in real-time without the page refreshing.
In other words, make my form use ajax and not refresh the page.
i'd love to add that 'Ajax' functionality to the button and display the entered text onto the text area above it. However, i guess that you'd like the entered content submitted to a back end Db/Flat file as is probably Daha Fazla