this should work
This commit is contained in:
parent
46cbe7cca8
commit
98e248cbc6
1 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue