Last change
on this file since 66 was
38,
checked in by fpvanagthoven, 14 years ago
|
Surveys can be loaded with UID.
|
File size:
456 bytes
|
Line | |
---|
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.