Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Can you program?" "Well, I'm literate, if that's what you mean!"


devel / comp.lang.javascript / Re: I can't get document.getElementById to work.

SubjectAuthor
* I can't get document.getElementById to work.Tyler Harris
+* Re: I can't get document.getElementById to work.Jon Ribbens
|`* Re: I can't get document.getElementById to work.Julio Di Egidio
| `- Re: I can't get document.getElementById to work.Ace of diamonds
+- Re: I can't get document.getElementById to work.JJ
`- Re: I can't get document.getElementById to work.Ace of diamonds

1
I can't get document.getElementById to work.

<7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17706&group=comp.lang.javascript#17706

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:ac8:4501:0:b0:2ed:b5a:536 with SMTP id q1-20020ac84501000000b002ed0b5a0536mr344159qtn.463.1649398971430;
Thu, 07 Apr 2022 23:22:51 -0700 (PDT)
X-Received: by 2002:a05:6870:538a:b0:e2:602f:f6 with SMTP id
h10-20020a056870538a00b000e2602f00f6mr4040661oan.214.1649398971088; Thu, 07
Apr 2022 23:22:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Thu, 7 Apr 2022 23:22:50 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=97.116.141.32; posting-account=wKip5AoAAADFzlUorqcR_A-3YcLpyrga
NNTP-Posting-Host: 97.116.141.32
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com>
Subject: I can't get document.getElementById to work.
From: thylorion@gmail.com (Tyler Harris)
Injection-Date: Fri, 08 Apr 2022 06:22:51 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: Tyler Harris - Fri, 8 Apr 2022 06:22 UTC

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?

Re: I can't get document.getElementById to work.

<slrnt50pke.41c.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17707&group=comp.lang.javascript#17707

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jon+usenet@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.javascript
Subject: Re: I can't get document.getElementById to work.
Date: Fri, 8 Apr 2022 16:45:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <slrnt50pke.41c.jon+usenet@raven.unequivocal.eu>
References: <7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com>
Injection-Date: Fri, 8 Apr 2022 16:45:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="df5358235e30e55f08f6107cb3ebfdb3";
logging-data="29942"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SuaD9dBn44GTvmt82j569Xijbvu/9C+M="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:KaQ0U+ITPaTGwQU/9+aJcZkmpnM=
 by: Jon Ribbens - Fri, 8 Apr 2022 16:45 UTC

On 2022-04-08, Tyler Harris <thylorion@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:
> ```
><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?

Your description makes no sense. The only "capital B" involved is on
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?

Re: I can't get document.getElementById to work.

<1a89zxrlnh87g$.1eoft7p9wqaft$.dlg@40tude.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17708&group=comp.lang.javascript#17708

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jj4public@gmail.com (JJ)
Newsgroups: comp.lang.javascript
Subject: Re: I can't get document.getElementById to work.
Date: Sat, 9 Apr 2022 14:06:43 +0700
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <1a89zxrlnh87g$.1eoft7p9wqaft$.dlg@40tude.net>
References: <7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="760872d6b7462b7de2a5918193ceb79f";
logging-data="18671"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HW299kuwNu0NApk0d3VMk1T8fP09BSNY="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:ZN0VlWPMOtdcteXQOGquc8j/csA=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Sat, 9 Apr 2022 07:06 UTC

On Thu, 7 Apr 2022 23:22:50 -0700 (PDT), Tyler Harris 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:
> ```
> <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 wrong part is likely at the code which handles the keystroke.

Re: I can't get document.getElementById to work.

<b2f7c83b-2122-4697-95bc-c3aa5a08151bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17709&group=comp.lang.javascript#17709

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:ad4:4626:0:b0:444:2fa7:3089 with SMTP id x6-20020ad44626000000b004442fa73089mr2280084qvv.118.1649502971418;
Sat, 09 Apr 2022 04:16:11 -0700 (PDT)
X-Received: by 2002:a05:6830:155a:b0:5b2:5e26:e636 with SMTP id
l26-20020a056830155a00b005b25e26e636mr7818490otp.185.1649502971178; Sat, 09
Apr 2022 04:16:11 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sat, 9 Apr 2022 04:16:10 -0700 (PDT)
In-Reply-To: <slrnt50pke.41c.jon+usenet@raven.unequivocal.eu>
Injection-Info: google-groups.googlegroups.com; posting-host=93.41.99.226; posting-account=F3H0JAgAAADcYVukktnHx7hFG5stjWse
NNTP-Posting-Host: 93.41.99.226
References: <7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com> <slrnt50pke.41c.jon+usenet@raven.unequivocal.eu>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b2f7c83b-2122-4697-95bc-c3aa5a08151bn@googlegroups.com>
Subject: Re: I can't get document.getElementById to work.
From: julio@diegidio.name (Julio Di Egidio)
Injection-Date: Sat, 09 Apr 2022 11:16:11 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Julio Di Egidio - Sat, 9 Apr 2022 11:16 UTC

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.
> >
> > 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?
> Your description makes no sense. The only "capital B" involved is on
> 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?

Are you so stupid that you can't see a patent troll when you crash into it? His and JJ's...

*Plonk*

Julio

Re: I can't get document.getElementById to work.

<1cfef3a2-1c7c-4774-b780-d31970eed034n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17841&group=comp.lang.javascript#17841

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:620a:2014:b0:6af:5eb:dff3 with SMTP id c20-20020a05620a201400b006af05ebdff3mr28155592qka.459.1657124252420;
Wed, 06 Jul 2022 09:17:32 -0700 (PDT)
X-Received: by 2002:a05:6808:1247:b0:32c:2ba9:4fab with SMTP id
o7-20020a056808124700b0032c2ba94fabmr22203411oiv.261.1657124252172; Wed, 06
Jul 2022 09:17:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Wed, 6 Jul 2022 09:17:31 -0700 (PDT)
In-Reply-To: <7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.131.37.215; posting-account=HfIszAoAAAC8ch6q3uChpTWUALHCfEoF
NNTP-Posting-Host: 82.131.37.215
References: <7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1cfef3a2-1c7c-4774-b780-d31970eed034n@googlegroups.com>
Subject: Re: I can't get document.getElementById to work.
From: he12091983@gmail.com (Ace of diamonds)
Injection-Date: Wed, 06 Jul 2022 16:17:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 22
 by: Ace of diamonds - Wed, 6 Jul 2022 16:17 UTC

Hey guy. Would You want to get rich with me doing programming? If yes, call me !!!!!!!!!

βœ†β˜Žβ˜πŸ“±πŸ“ž : 372 53900660

Tyler Harris kirjutas Reede, 8. aprill 2022 kl 08:22:55 UTC+2:
> 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?

Re: I can't get document.getElementById to work.

<65906e74-3186-4e56-87d6-1bcbffcddb53n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17842&group=comp.lang.javascript#17842

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:620a:4454:b0:6af:3752:e8b5 with SMTP id w20-20020a05620a445400b006af3752e8b5mr27213183qkp.286.1657124284454;
Wed, 06 Jul 2022 09:18:04 -0700 (PDT)
X-Received: by 2002:a05:6808:8db:b0:335:3aae:b249 with SMTP id
k27-20020a05680808db00b003353aaeb249mr23260271oij.205.1657124284221; Wed, 06
Jul 2022 09:18:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Wed, 6 Jul 2022 09:18:04 -0700 (PDT)
In-Reply-To: <b2f7c83b-2122-4697-95bc-c3aa5a08151bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.131.37.215; posting-account=HfIszAoAAAC8ch6q3uChpTWUALHCfEoF
NNTP-Posting-Host: 82.131.37.215
References: <7b2c22d7-e292-46b1-9e86-f12915c816ffn@googlegroups.com>
<slrnt50pke.41c.jon+usenet@raven.unequivocal.eu> <b2f7c83b-2122-4697-95bc-c3aa5a08151bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <65906e74-3186-4e56-87d6-1bcbffcddb53n@googlegroups.com>
Subject: Re: I can't get document.getElementById to work.
From: he12091983@gmail.com (Ace of diamonds)
Injection-Date: Wed, 06 Jul 2022 16:18:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 40
 by: Ace of diamonds - Wed, 6 Jul 2022 16:18 UTC

Hey guy. Would You want to get rich with me doing programming? If yes, call me !!!!!!!!!

βœ†β˜Žβ˜πŸ“±πŸ“ž : 372 53900660

ju...@diegidio.name kirjutas LaupΓ€ev, 9. aprill 2022 kl 13:16:15 UTC+2:
> 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.
> > >
> > > 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?
> > Your description makes no sense. The only "capital B" involved is on
> > 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?
> Are you so stupid that you can't see a patent troll when you crash into it? His and JJ's...
>
> *Plonk*
>
> Julio


devel / comp.lang.javascript / Re: I can't get document.getElementById to work.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor