JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 26th, 2013, 05:22 PM
ladyrana ladyrana is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 4 ladyrana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 27 sec
Reputation Power: 0
Exclamation Other - I can't activate grade me in this code

Hello programmers:
The idea: Am making multiple choice quiz.
each correct answer has a value for example: 10

Platform: Blogspot.

My problem: After coding the quiz, I need the student, for example, or any kind of visitors to check his/her answers (scourse) if they are correct but I can't do this. I don't know what do I need. I need your help.

The code is here:

Code:
[CODE]<!-------- Quiz Starts Here -------->
<h3>My Quiz</h3>

<form action="http://www.result.com/builder/result.aspx?max=0&q=2" method="post">
<input type="hidden" name="QuizTitle" value="My Quiz" />
<input type="hidden" name="QuizReturnLink" value="myblog.blogspot.com" />

<ol>

<li>Type your question1 here.</li><br />
<input type="radio" name="ans1" value="0"/>choice1<br />
<input type="radio" name="ans1" value="0"/>choice2<br />
<input type="radio" name="ans1" value="0"/>choice3<br /><br />

<li>Type your question2 here.</li><br />
<input type="radio" name="ans2" value="0"/>choice1<br />
<input type="radio" name="ans2" value="0"/>choice2<br />
<input type="radio" name="ans2" value="0"/>choice3<br /><br />

</ol>

<p><input type="submit" value="Grade Me" onclick="this.value='Please wait...'" /></p>
</form>
<!-------- Quiz Ends Here -------->

Reply With Quote
  #2  
Old February 26th, 2013, 05:25 PM
ladyrana ladyrana is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 4 ladyrana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 27 sec
Reputation Power: 0
Am not sure I need Javascrip code, or only a massage that shows the grades.

By the way, here an exmple of java script code which appearse after doing the quiz in a new page. Maybe you want to check it out.

Code:
<html>
<head>
<title>Thanks for taking the quiz.</title>

<link rel="stylesheet" type="text/css" href="/includes/quizbox.css" />

<script type="text/javascript">
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4407917-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>

<body>

<table width="600" align="center" cellpadding="10" cellspacing="10">
<tr>
<td colspan="2" align="center" bgcolor="#f0f0f0">
<h3>Thanks for taking the quiz.</h3>
<h1>Score: 0</h1>



<p><font size="5"><a href="javascript:history.back()">Try Again</a></font></p>
</td>
</tr>
<tr>
	<td valign="top">
SCORING<br>	
	
	</td>
	<td valign="top">
YOUR SCORE STATISTICS<br>Size: 0, Min: Infinity, Max: -Infinity<br>Range: -Infinity, Middle Of Range: NaN<br>Average: NaN, Mode: NaN<br><br>First Quarter: NaN, Median: NaN, Third Quarter: NaN<br>Sample Variance: NaN, Standard Deviation: NaN<br><br>PATTERN SIGNATURE<br>	
	</td>
</tr>
</table>

</body>
</html>

Reply With Quote
  #3  
Old February 26th, 2013, 06:08 PM
Winters Winters is offline
Super Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jul 2003
Posts: 3,874 Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 1 Day 17 h 23 m 53 sec
Reputation Power: 2569
Welcome to DevShed. I have no idea what your question is.
__________________
[PHP] | [Perl] | [Python] | [Java] != [JavaScript] | [XML] | [ANSI C] | [C++] | [LUA] | [MySQL] | [FirebirdSQL] | [PostgreSQL] | [HTML] | [XHTML] | [CSS]

W3Fools - A W3Schools Intervention.

Reply With Quote
  #4  
Old February 26th, 2013, 06:23 PM
ladyrana ladyrana is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 4 ladyrana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 27 sec
Reputation Power: 0
Quote:
Originally Posted by Winters
Welcome to DevShed. I have no idea what your question is.


MY question is:
How can I make (grade me) button work????
It doesn't work.
And then, student don't know what he scored.

Reply With Quote
  #5  
Old February 27th, 2013, 03:11 AM
Winters Winters is offline
Super Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jul 2003
Posts: 3,874 Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level)Winters User rank is General 24th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 1 Day 17 h 23 m 53 sec
Reputation Power: 2569
That is because there is only a form and no code to process the data. Are you asking for help or are you asking for someone to write the code for you? This looks very suspiciously like homework.

Reply With Quote
  #6  
Old February 27th, 2013, 05:11 PM
ladyrana ladyrana is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Posts: 4 ladyrana User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 27 sec
Reputation Power: 0
Quote:
Originally Posted by Winters
That is because there is only a form and no code to process the data. Are you asking for help or are you asking for someone to write the code for you? This looks very suspiciously like homework.


Homework!! what homework?
If you don't want to help me, you don't have to.
Give a chance to other helpers without disappointing me.
I think this site gathers programmers. I was looking for someone to help me.
I brought this code to help others too to understand me to make it easy for them to try the code and then modify it if they want.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Other - I can't activate grade me in this code

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap