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


Groups > comp.lang.javascript > #29621

Re: Can someone tell if this is javascript or else (jquery)?

From Stefan Weiss <krewecherl@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: Can someone tell if this is javascript or else (jquery)?
Date 2016-02-16 23:56 +0100
Organization albasani.net
Message-ID <na09fe$1bv$1@news.albasani.net> (permalink)
References (1 earlier) <ad4a7459-1e9a-4064-bd48-315bd4bfeb3b@googlegroups.com> <n9u4ha$f23$1@news.albasani.net> <1998996.AYlFq7fMdc@PointedEars.de> <n9uukm$fbb$1@news.albasani.net> <1927932.lV8zrDp9mk@PointedEars.de>

Show all headers | View raw


On 02/16/2016 20:23, Thomas 'PointedEars' Lahn wrote:
> Stefan Weiss wrote:
> 
>> On 02/16/2016 08:36, Thomas 'PointedEars' Lahn wrote:
>>> Stefan Weiss wrote:
>>>> Still, if it's a plain JS library (like jQuery), you can do everything
>>>> it does with plain JS yourself.
>>> No, because "JS" [...] does not include APIs like the DOM that are
>>> necessary to achieve this.
>>
>> Neither does jQuery. The environment either has access to the DOM, or it
>> doesn't. In either case, everything jQuery does can be done without it.
>> Besides, we were talking about browser-based components, so the
>> availability of the DOM was implied.
> 
> You are missing the point.  Saying that you can do the same that jQuery does 
> with “plain JS” implies that you can do *those* things with “plain JS”.
> But, as a matter of fact you cannot, because “plain JS” actually does not 
> include using APIs like the DOM that jQuery uses a lot.

Really? That was your whole point? This is so boring and trivial that it
hardly seems worth mentioning. Of course JavaScript programs rely on
external APIs. The core language as specified is useless without a host
environment - it has no built-in methods for reading, printing, or
displaying anything at all. In this thread, the OP explicitly mentioned
DOM elements, so the use of this API can be taken for granted. His
question was:

| Is it possible to achieve the same result of this script (3 dependant
| drop down validation boxes) using javascript without any jquery.

In this context, "plain" or "vanilla" JavaScript clearly refers to
JavaScript without the use of jQuery. You would have to be very dense to
misunderstand it as "JavaScript without any external APIs whatsoever". I
don't think you're stupid, so I have to assume it was a deliberate
misinterpretation. Sad, but not entirely unexpected.


- stefan

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


Thread

Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 14:49 -0800
  Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 00:05 +0100
    Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-14 15:26 -0800
      Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-15 01:22 +0100
        Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-15 20:00 +0100
      Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 05:41 -0800
  Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-15 16:59 -0800
    Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 04:20 +0100
      Re: Can someone tell if this is javascript or else (jquery)? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-02-15 22:18 -0800
      Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 08:36 +0100
        Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 11:45 +0100
          Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-16 20:23 +0100
            Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-16 20:24 +0000
              Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-17 07:31 +1100
                Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-17 15:57 +0100
                Re: Can someone tell if this is javascript or else (jquery)? Tim Streater <timstreater@greenbee.net> - 2016-02-17 15:09 +0000
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 16:09 +0000
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-17 15:45 +0000
                Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 00:09 +0100
                Re: Can someone tell if this is javascript or else (jquery)? Andrew Poulos <ap_prog@hotmail.com> - 2016-02-18 19:29 +1100
                Re: Can someone tell if this is javascript or else (jquery)? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-02-18 23:36 +0100
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-19 10:51 +0000
                Re: Can someone tell if this is javascript or else (jquery)? Scott Sauyet <scott.sauyet@gmail.com> - 2016-02-19 09:01 -0800
                Re: Can someone tell if this is javascript or else (jquery)? John Harris <niam@jghnorth.org.uk.invalid> - 2016-02-18 15:10 +0000
            Re: Can someone tell if this is javascript or else (jquery)? Stefan Weiss <krewecherl@gmail.com> - 2016-02-16 23:56 +0100
  Re: Can someone tell if this is javascript or else (jquery)? bpascal123 <bpascal123@gmail.com> - 2016-02-17 04:46 -0800

csiph-web