summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorjiteshjha2016-06-13 18:38:37 +0530
committerjiteshjha2016-06-13 18:38:37 +0530
commit6236dbd8f106b2da57dd219bcaa0aedf577da49d (patch)
treeae9ce5b97aba1cae57458ac71145b5b3e2d06f4b /index.html
parent8242c14d38c1e7f1b7f91e7e27faedcbf0a16495 (diff)
downloadxcos-on-web-6236dbd8f106b2da57dd219bcaa0aedf577da49d.tar.gz
xcos-on-web-6236dbd8f106b2da57dd219bcaa0aedf577da49d.tar.bz2
xcos-on-web-6236dbd8f106b2da57dd219bcaa0aedf577da49d.zip
chaged id name
Diffstat (limited to 'index.html')
-rw-r--r--index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/index.html b/index.html
index 48005bd..132681c 100644
--- a/index.html
+++ b/index.html
@@ -912,20 +912,20 @@
myform.setAttribute("id", "formProperties");
// Add set context string
- var stringSetContext = document.createElement("div");
- stringSetContext.innerHTML = "You may enter here scilab instructions to define symbolic parameters used in block definitions using Scilab instructions. These instructions are evaluated once confirmed(i.e. you click on OK and every time the diagram is loaded)";
- stringSetContext.setAttribute("id", "stringSetContext");
- myform.appendChild(stringSetContext);
+ var descriptionSetContext = document.createElement("div");
+ descriptionSetContext.innerHTML = "You may enter here scilab instructions to define symbolic parameters used in block definitions using Scilab instructions. These instructions are evaluated once confirmed(i.e. you click on OK and every time the diagram is loaded)";
+ descriptionSetContext.setAttribute("id", "descriptionSetContext");
+ myform.appendChild(descriptionSetContext);
// Line break
var linebreak = document.createElement('br');
myform.appendChild(linebreak);
// input text area
- var textarea = document.createElement("textarea");
- textarea.setAttribute("id", "setContextTextArea");
+ var textareaSetContext = document.createElement("textarea");
+ textareaSetContext.setAttribute("id", "textareaSetContext");
- myform.appendChild(textarea);
+ myform.appendChild(textareaSetContext);
// Line break
var linebreak = document.createElement('br');
@@ -944,7 +944,7 @@
// Executes when button 'btn' is clicked
btn.onclick = function() {
- console.log('Input: '+document.getElementById('setContextTextArea').value);
+ console.log('Input: '+document.getElementById('textareaSetContext').value);
};
myform.appendChild(btn);