There is a gallery website. I want users be able to submit comment for each item. Every six items load in one page and there is a form for each one. Form have to be sent to server-side and retrieve results(some simple messages) using ajax. I want results be printed instead of its related form.
I'm new to JQuery and trying so many ways but I have not found a solution yet. My framework is yii and I prefer to use setFlash method for show messages but it's not critical.
First I tried to do it using yii ajaxSubmitButton but it was very tricky.After that I got some widgets but they were not useful enough.I decided to do it with using JQuery-Ajax directly but I didn't find a way to print returned results instead of related form.