How can I implement a "wizard" style page using JQuery?

Posted by Mark Brittingham on Stack Overflow See other posts from Stack Overflow or by Mark Brittingham
Published on 2010-01-20T23:37:33Z Indexed on 2011/01/09 7:53 UTC
Read the original article Hit count: 277

Filed under:
|

I am implementing a questionnaire on the web and I'd like for each block of questions to have its own "page" so the user doesn't have to scroll. However, page loads have two problems: a) they take time (and have a noticeable flicker/refresh) and b) such an approach would force me to do a data table insert plus multiple updates (or store it all in my session).

How can I use JQuery to let the user page through the questionnaire on the client side, answering questions as he goes? I'll then be able to handle the data store when all the answers are submitted at the end.

One other thing...is there a way to make sure that the session doesn't time out if the user takes awhile?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX