Spaces:
Running
Running
Paar, F. (Ferdinand) commited on
Commit ·
740fd55
1
Parent(s): 1eef014
1st try to implement 2.1
Browse files- frontend/index.html +2 -2
- frontend/script.js +1 -1
frontend/index.html
CHANGED
|
@@ -85,7 +85,7 @@
|
|
| 85 |
</form>
|
| 86 |
|
| 87 |
<!-- Output Area -->
|
| 88 |
-
<
|
| 89 |
</section>
|
| 90 |
<section class="model_view">
|
| 91 |
<div id="model_view_container">
|
|
@@ -116,6 +116,6 @@
|
|
| 116 |
</aside>
|
| 117 |
</div>
|
| 118 |
|
| 119 |
-
<script src="static/script.js?v=
|
| 120 |
</body>
|
| 121 |
</html>
|
|
|
|
| 85 |
</form>
|
| 86 |
|
| 87 |
<!-- Output Area -->
|
| 88 |
+
<div id="output"></div>
|
| 89 |
</section>
|
| 90 |
<section class="model_view">
|
| 91 |
<div id="model_view_container">
|
|
|
|
| 116 |
</aside>
|
| 117 |
</div>
|
| 118 |
|
| 119 |
+
<script src="static/script.js?v=20250250131533"></script>
|
| 120 |
</body>
|
| 121 |
</html>
|
frontend/script.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
// Form submit handler
|
| 2 |
document.getElementById('textForm').addEventListener('submit', async (e) => {
|
| 3 |
e.preventDefault();
|
| 4 |
const inputText = document.getElementById('inputText').value;
|
|
|
|
| 1 |
+
// Form submit handler 2.1
|
| 2 |
document.getElementById('textForm').addEventListener('submit', async (e) => {
|
| 3 |
e.preventDefault();
|
| 4 |
const inputText = document.getElementById('inputText').value;
|