12345678910111213141516171819202122232425 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
- </head>
- <div class="form_div">
- <h3>Start Production</h3>
- <form method="GET" action="../services/start_instance.php">
- <input type="text" name="workerID" id="workerID">
- <p> OrderID: <input type="text" name="orderID" required></p>
- <p> ArticleID: <input type="text" name="articleID" required></p>
- <p> MachineID: <input type="text" name="machineID" required></p>
- <input type="submit" value="Start" onclick="test();">
- </form>
- </div>
- <script type="text/javascript">
- const queryString = window.location.search;
- const urlParams = new URLSearchParams(queryString);
- const workerID = urlParams.get('workerID');
- document.getElementById("workerID").value = workerID;
- </script>
- </html>
|