Advertisement

08.22.2008 at 08:27AM PDT, ID: 23670514
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

How to I put a "reset all fields" button into this time script?

Asked by freshjuice in Hypertext Markup Language (HTML), Scripting Languages

Tags: , ,

I'm working on an simple online timing exercise, where you input numbers and letters and the clock times you.

However, if somene screws up on the exercise, I can't figure out how to get it to reset all fields

The script is attached

And the basic form fields are as follows: (this is not intended to be a submittable form)

<input type="text" name="textfield" size="3" align="center"  maxlength="2" tabindex="1">
...and so on




Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
<script>
function startTimer(){
 this.d=new Date
 this.interval=setInterval(this.name+'.displaytimer()',1000)
}
 
function displaytimer(){
 now=new Date()
 secs=Math.round((now.getTime()-this.d.getTime())/1000)
 document.getElementById(this.box).value=secs
}
 
function reset(){
 clearInterval(this.interval)
 document.getElementById(this.box).value=0
}
 
function stop(){
 clearInterval(this.interval)
}
function Timer(name,box){
 this.start=startTimer
 this.displaytimer=displaytimer
 this.name=name
 this.box=box
 this.stop=stop
 this.reset=reset
}
 
timer1=new Timer('timer1','timer1box')
timer2=new Timer('timer2','timer2box')
            </script>
 
 
[+][-]08.22.2008 at 08:48AM PDT, ID: 22291236

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.22.2008 at 09:01AM PDT, ID: 22291378

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.22.2008 at 09:17AM PDT, ID: 22291561

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.22.2008 at 10:53AM PDT, ID: 22292420

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.22.2008 at 12:19PM PDT, ID: 22293239

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.22.2008 at 12:40PM PDT, ID: 22293421

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.22.2008 at 12:48PM PDT, ID: 22293483

View this solution now by starting your 14-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Hypertext Markup Language (HTML), Scripting Languages
Tags: Adobe, Dreamweaver, CS2
Sign Up Now!
Solution Provided By: MacAnthony
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.22.2008 at 01:02PM PDT, ID: 22293619

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628