www.webdeveloper.com
Results 1 to 2 of 2

Thread: Multiple form submit and retrieve results separately

  1. #1
    Join Date
    Mar 2013
    Posts
    19

    Unhappy Multiple form submit and retrieve results separately

    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.

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,648
    when i'm stuck with some code i throw it away and go to watch a movie or do something else not related with coding. when i come back to that code, often i can suddenly see the solution. try this ))
    xxx: Guess Buddhist riddle: "What is the sound of one hand clapping?"
    yyy: facepalm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles