Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38156

Re: <iframe> use identifier

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: <iframe> use identifier
Date Mon, 27 Jan 2020 17:27:30 +0100
Lines 36
Message-ID <h98hbiFdm3fU1@mid.individual.net> (permalink)
References <884e1d41-e5f9-42b7-ab22-02cb309da48d@googlegroups.com> <r0mb8k$1pvh$1@gioia.aioe.org> <29257c48-e137-4ce9-8eb7-d83faffa1792@googlegroups.com> <r0mmst$1mk2$1@gioia.aioe.org> <c138b04e-3d9b-45ed-a96c-896bd670806d@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace individual.net WodxAx5wiIQuL+FrHvZTBQRTBD3XRoXYozPo/qnOPSRgk+8nyx
Cancel-Lock sha1:IyehvaLXFcH1FlnCXxjFoU+cmWk=
In-Reply-To <c138b04e-3d9b-45ed-a96c-896bd670806d@googlegroups.com>
Content-Language en-US
Xref csiph.com comp.lang.javascript:38156

Show key headers only | View raw


On 27.01.20 14:36, Jonas Thörnvall wrote:

> Den måndag 27 januari 2020 kl. 14:00:19 UTC+1 skrev R.Wieser:
>> Jonas,
>>
>>> Well i am not that found of hieroglyphs in code, i prefer
>>> semantics weither it is HTML, CSS or Javascript does
>>> not matter.
>>
>> And that preference caused you to be unable to search for a solution 
>> yourself ?  Really ?
>>
>> Regards,
>> Rudy Wieser
> 
> No but i can't see why someone prefer a "blackbox" lookup hieroglyph, before four chararcter of semantic, it is a mystery.

Well - CSS is not "code". It's just a stylesheet with *rules* how to
*display* things and it has its own syntax for selectors which is not
really that hard. Keep in mind, that CSS files also have to be
transferred and parsed quickly - using an XML like syntax for this would
make things *much* more cumbersome to deal with.

If you want to select elements by ID or class in JavaScript you can do
this by using getElementbyId():

<https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById>

<https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName>

I don't see any "blackbox" or "hieroglyph" here.


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

<iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-26 22:46 -0800
  Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 08:23 +0100
    Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-26 23:48 -0800
      Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-26 23:59 -0800
        Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 09:47 +0100
      Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 09:46 +0100
      Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 10:49 +0100
  Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 09:42 +0100
  Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 10:41 +0100
    Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-27 03:45 -0800
      Re: <iframe> use identifier "R.Wieser" <address@not.available> - 2020-01-27 13:59 +0100
        Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-27 05:36 -0800
          Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-27 17:27 +0100
            Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-27 15:34 -0800
              Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-28 15:16 +0100
              Re: <iframe> use identifier John G Harris <niam@jghnorth.org.uk.invalid> - 2020-01-28 19:08 +0000
                Re: <iframe> use identifier Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-01-28 18:01 -0800
                Re: <iframe> use identifier Arno Welzel <usenet@arnowelzel.de> - 2020-01-29 09:27 +0100

csiph-web