Last change
on this file since 38 was
38,
checked in by fpvanagthoven, 14 years ago
|
Surveys can be loaded with UID.
|
File size:
456 bytes
|
Rev | Line | |
---|
[38] | 1 | function loadSurvey() |
---|
| 2 | { |
---|
| 3 | var form = document.getElementById('loadForm'); |
---|
| 4 | var select = document.getElementById('surveysToLoad'); |
---|
| 5 | var surveyUID = select.valueOf().value; |
---|
| 6 | |
---|
| 7 | if (surveyUID != '') |
---|
| 8 | { |
---|
| 9 | var surveyInput = document.createElement('input'); |
---|
| 10 | surveyInput.name = "UID"; |
---|
| 11 | surveyInput.value = surveyUID; |
---|
| 12 | surveyInput.type = "hidden"; |
---|
| 13 | |
---|
| 14 | form.appendChild(surveyInput); |
---|
| 15 | |
---|
| 16 | form.submit(); |
---|
| 17 | } |
---|
| 18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.