Count down with invisible counter

From Catglobe Wiki
Revision as of 10:24, 2 March 2009 by Catglobe (talk | contribs) (New page: == Challenge == You want to use automatically change question, but don't want to show the counter for the respondent. The Next button is often hided when this script is used. == Code == <...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Challenge

You want to use automatically change question, but don't want to show the counter for the respondent. The Next button is often hided when this script is used.

Code

1 function jumpon()      
2 {
3      document["query"]["dir"].value = "next";
4      document["query"].submit();
5 }
6 
7 //defines how many milliseconds the question should be visible for the respondent
8 window.setTimeout("jumpon();", 1500);