this should work

This commit is contained in:
awesomeuser 2023-08-04 17:09:38 +00:00
parent 46cbe7cca8
commit 98e248cbc6

View file

@ -97,7 +97,7 @@
<script> <script>
function loadImageBits(canvasId, bits) { function loadImageBits(canvasId, bits) {
debug.log("debug"); alert("loading " + canvasId);
} }
</script> </script>
</head> </head>
@ -214,7 +214,7 @@
echo "<i>" . fgets($myfile) . "</i>"; echo "<i>" . fgets($myfile) . "</i>";
echo "<canvas id='c" . $index . "' style='width: 100%;' width='128' height='64'></canvas></div>"; echo "<canvas id='c" . $index . "' style='width: 100%;' width='128' height='64'></canvas></div>";
echo "<script>alert('testing testing 123')</script>"; echo "<script>loadImageBits('c" . $index . "', '" . fgets($myfile) . "');</script>";
$index++; $index++;
} }