Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

JavaScript form for trivia questions

Posted on 1999-06-27
4
Medium Priority
?
185 Views
Last Modified: 2012-06-27
I'm trying to create a form for a trivia question where the user can select from multiple answers via radio buttons and will be redirected to html page for either the correct or incorrect answer. Can you help?
0
Comment
Question by:mbeaven
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1288178
It is not advisable to have the answers to quizzes inside the page.

Make the page, post it here and I can try to help you grade it...

Michel
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1288179
You can start off with a look at this - fairly simple and easy to understand...

http://students.ou.edu/G/Timothy.S.Gourley-1/jsquiz.htm

Michel
0
 

Author Comment

by:mbeaven
ID: 1288180
Thanks, I got it. I was trying to use onSubmit to call the function and it didn't work. I followed the example and used the onClick handler and it works fine. It's for a horror web page I do for fun, so I won't lose my job :)
You can look at the result at www.max-horror.com/trivia.html
Thanks, again.
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 400 total points
ID: 1288181
Looking good. I will post an answer then ;-)

Michel
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to implement server side field validation and display customized error messages to the client.
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question