1234567891011121314151617181920212223242526272829303132 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <link rel="shortcut icon" href="#" />
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
- </head>
- <div class="form_div">
- <h3>Scan Data</h3>
- <form method="GET" action="../services/return_cpee.php">
- <input type="text" name="id" id="cbid" required>
- <input type="text" name="workerID" id="workerID" required>
- <p> ToolID: <input type="text" name="toolID" id="toolID" required></p>
- <input type="submit" value="Submit" onclick="checkTool(toolID_or,rolle);">
- </form>
- </div>
- <script type="text/javascript" src="form.js"></script>
- <script type="text/javascript">
- var inhalt = "";
- $.ajax({
- url: '../callbacks/'+cbid+'.txt',
- async: false,
- success: function (data){
- inhalt = data;
- }
- });
- inhalt = JSON.parse(inhalt);
- toolID_or = inhalt[1]['toolID'];
- var rolle = inhalt[1]['rolle'];
- </script>
- </html>
|