views:

1708

answers:

1

I'm looking for a very basic survey/wizard example using jQuery and HTML. I'd like it to connect to a text file or XML file and be independent of SQL, PHP, ASP.NET, or any other scripting language outside of JavaScript.

TIA

UPDATE: I'm looking for a solution that will ask a single question at a time. Then, based on the multiple choice option selected, I want to show a result and then allow the user to continue to the next question. Like I said earlier, more of a wizard-like survey solution.

UPDATE 2: I'm also not looking to store any results. Let me explain this a different way. On the homepage of a website that offers other services, we want to show a single question with 5 multiple choice answers. The user would have the ability to choose an answer and click submit. Upon clicking submit, the div would refresh with the results based on the answer they selected and ask if they'd like to see another question. There's no storing of data. It's more less a fun exercise to show content.

+3  A: 

http://plugins.jquery.com/project/Survey

Here's an example: http://flesler.webs.com/jQuery.Survey/

The example loads the details from a JSON object, which in my opinion is much better suited for this task than a text file or XML.

Luca Matteis
I'm looking for a system to ask 1 question at a time kind of like a wizard. I wasn't going to retrieve the data using a JSON object (1) I need to stay independent from any server-based technology (2) I'm looking to ask multiple choice questions and provide an answer before continuing to the next ?.
Jason N. Gaylord
JSON is independent from server-based technology if you want it to be. What you're asking is far too specific, if I were you I would look at the survey jQuery code and try to simulate what you're looking for, it shouldn't be that hard.
Luca Matteis
Well, I can make a JSON call but the paging of the data is the part I'm not familiar with.
Jason N. Gaylord