This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:create:timer-submit [08.02.2015 12:43] – test.de | en:create:timer-submit [08.02.2015 12:46] – test.de | ||
---|---|---|---|
Line 56: | Line 56: | ||
// Function to forward | // Function to forward | ||
function next() { | function next() { | ||
- | // Display | + | // Display |
alert(" | alert(" | ||
// Forward participant onto the next page | // Forward participant onto the next page | ||
Line 74: | Line 74: | ||
Some of the JavaScript sections are marked as // | Some of the JavaScript sections are marked as // | ||
- | **Note:** If you want to display a message after the timer has expired using '' | + | **Note:** If you want to display a message after the timer has expired using '' |
- | Initialization of the forwarding will only be carried out once the questionnaire page has been fully loaded ('' | + | Initialization of the forwarding will only be carried out once the questionnaire page has been fully loaded ('' |
Line 100: | Line 100: | ||
// Function to forward | // Function to forward | ||
function weiter() { | function weiter() { | ||
- | // Display | + | // Display message (optional) |
alert(" | alert(" | ||
// Forward participant onto the next page | // Forward participant onto the next page | ||
Line 164: | Line 164: | ||
Place the text element with the JavaScript on the second page below the PHP code, and the questions beneath this. | Place the text element with the JavaScript on the second page below the PHP code, and the questions beneath this. | ||
- | **Restriction: | + | **Restriction: |