I have placed the javascript at the end of the body, so this part is
not the problem. Also, this code works when I compile it in another
program.
I am actually using TiddlyWiki5 with an inline JavaScript plugin.
This is the code I have:
```
<script>
var test = document.getElementById("div_name").innerHTML;
alert('test');
</script>
```
I am using a live preview editor, so with every keystroke, I get that
alert. I keep getting that alert until I hit the capital "B", then the
alert stops working.
Does anyone know what is wrong here?
I have placed the javascript at the end of the body, so this part is not the problem. Also, this code works when I compile it in another program.
I am actually using TiddlyWiki5 with an inline JavaScript plugin.
This is the code I have:
```
<script>
var test = document.getElementById("div_name").innerHTML;
alert('test');
</script>
```
I am using a live preview editor, so with every keystroke, I get that alert. I keep getting that alert until I hit the capital "B", then the alert stops working.
Does anyone know what is wrong here?
On 2022-04-08, Tyler Harris <thyl...@gmail.com> wrote:
I have placed the javascript at the end of the body, so this part is
not the problem. Also, this code works when I compile it in another program.
I am actually using TiddlyWiki5 with an inline JavaScript plugin.
This is the code I have:Your description makes no sense. The only "capital B" involved is on
```
<script>
var test = document.getElementById("div_name").innerHTML;
alert('test');
</script>
```
I am using a live preview editor, so with every keystroke, I get that alert. I keep getting that alert until I hit the capital "B", then the alert stops working.
Does anyone know what is wrong here?
the first line of your script, but the alert is on the second line
of the script, so how can the alert possibly be happening when you
haven't typed it in yet?
I have placed the javascript at the end of the body, so this part is not the problem. Also, this code works when I compile it in another program.
I am actually using TiddlyWiki5 with an inline JavaScript plugin.
This is the code I have:
```
<script>
var test = document.getElementById("div_name").innerHTML;
alert('test');
</script>
```
I am using a live preview editor, so with every keystroke, I get that alert. I keep getting that alert until I hit the capital "B", then the alert stops working.
Does anyone know what is wrong here?
On Friday, 8 April 2022 at 18:45:10 UTC+2, Jon Ribbens wrote:
On 2022-04-08, Tyler Harris <thyl...@gmail.com> wrote:
I have placed the javascript at the end of the body, so this part is
not the problem. Also, this code works when I compile it in another program.
I am actually using TiddlyWiki5 with an inline JavaScript plugin.
Are you so stupid that you can't see a patent troll when you crash into it? His and JJ's...This is the code I have:Your description makes no sense. The only "capital B" involved is on
```
<script>
var test = document.getElementById("div_name").innerHTML;
alert('test');
</script>
```
I am using a live preview editor, so with every keystroke, I get that alert. I keep getting that alert until I hit the capital "B", then the alert stops working.
Does anyone know what is wrong here?
the first line of your script, but the alert is on the second line
of the script, so how can the alert possibly be happening when you
haven't typed it in yet?
*Plonk*
Julio
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 469 |
Nodes: | 16 (2 / 14) |
Uptime: | 43:11:10 |
Calls: | 9,449 |
Calls today: | 6 |
Files: | 13,596 |
Messages: | 6,111,874 |
Posted today: | 1 |