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


Groups > comp.lang.javascript > #13632

Re: jquery ,get the id of the input in order to delete input row?

From Matt McDonald <matt@fortybelow.ca>
Newsgroups comp.lang.javascript
Subject Re: jquery ,get the id of the input in order to delete input row?
Date 2012-04-26 22:23 -0600
Organization A noiseless patient Spider
Message-ID <jnd70r$495$1@dont-email.me> (permalink)
References (5 earlier) <barmar-998202.21390625042012@news.eternal-september.org> <1cWdnX9PneigKAXSnZ2dnUVZ_sudnZ2d@westnet.com.au> <barmar-60E1B8.06301726042012@news.eternal-september.org> <ceudnf7CxdiHugTSnZ2dnUVZ_q-dnZ2d@westnet.com.au> <barmar-E8C7FC.08340126042012@news.eternal-september.org>

Show all headers | View raw


On 12-04-26 06:34 AM, Barry Margolin wrote:
> I just tried googling for articles with JQuery in the subject, most of
> them were unenlightening (Question: "how do I do X in Jquery?" Answer:
> "Don't use JQuery").  I extended to jquery in the text, and it seemed
> like half the hits were from PointedEars, because one of his random sigs
> mentions JQuery (not favorably, of course).

jQuery's follies have been covered hundreds of times specifically
by David Mark, Thomas Lahn and Richard Cornford. I've learned
massive amounts from the three of them since I started reading
this newsgroup.

> I didn't see any comprehensive discussions.  I ignored anything from PE,
> since he's a troll.

To the untrained eye. Look harder.

> And David Mark seems to be in a feud with the
> JQuery implementors, as well has having a competing library of his own.

I myself have a great deal of disdain for people associated
with the jQuery project. What you see as a "feud" is actually
someone taking a stand for sensible web development.

My Library is not "competing" with jQuery. The two occupy
different realms. One is a poorly written monolithic
API with a magic cauldron "selector engine"; the other is a
modular API that's as sturdy as can be.

> They generally say "you don't need any of these things, just learn how
> to use Javascript, CSS and DOM."  I can pick up a language in a few
> hours (95% of Javascript is C-like, and my Lisp background is helpful
> for the object orientation), but that's a long way from getting the nice
> effects I want on a web page.

Whom might "they" be? Be wary of men made of straw.

JavaScript isn't the main issue here. The DOM is the stumbling
block most developers face. It's the primary source of FUD
regarding client-side code.

There are various DOM specifications (tiered by "levels").
I'd suggest beginning with the DOM Level 2 Core[0] and
DOM Level 2 HTML[1] specifications.

> I don't really care much about JQuery itself (perhaps most of the things
> in the matrix are uncommon, so I won't run into them), but plugins like
> JQuery UI seem really attractive.  Those are the wheels I'm trying to
> avoid reinventing.

I wouldn't recommend it. While jQueryUI actually allows for
custom builds, it's one giant jQuery plug-in. That's a
colossal dependency.

> Maybe 20 years ago I would have considered it a fun
> exercise to spend a few days implementing a datepicker myself, but now I
> just want to get something working in a reasonable amount of time.

Therein lies the problem with web development today. Gone
are the days of tested, logical code. If someone else has
already done the work, why bother? Project Foo needs to be
done tomorrow and the client isn't going to pay another dime
for a custom scrollbar. Slap one together with jQueryUI
in an hour.¹

> But I can tell that even if there's anything good to say about JQuery

I've yet to find one "good" aspect about it. The source code
resembles entangled pasta, the developers are clueless browser
elitists and its founder is an utter charlatan who has
leveraged its popularity into years of cushy speaking
invitations and jobs with high-profile companies.

jQuery has irreversibly tainted web development. Many
employers are now content with permitting "designers"
to fumble around with the DOM because jQuery enables
them to quickly code by coincidence. In my search for
employment, I've discovered that JavaScript is now
tossed into job ads as an afterthought (along with
HTML and CSS).

[0]: http://www.w3.org/TR/DOM-Level-2-Core/
[1]: http://www.w3.org/TR/DOM-Level-2-HTML/

¹ a sarcastic hypothetical scenario

-- 
Matt McDonald: Web/Flash Developer; Edmonton, Alberta, Canada

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


Thread

jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-04-20 11:39 -0700
  Re: jquery ,get the id of the input in order to delete input row? Denis McMahon <denismfmcmahon@gmail.com> - 2012-04-21 01:23 +0000
    Re: jquery ,get the id of the input in order to delete input row? Denis McMahon <denismfmcmahon@gmail.com> - 2012-04-21 02:18 +0000
      Re: jquery ,get the id of the input in order to delete input row? Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2012-04-21 07:31 +0200
        Re: jquery ,get the id of the input in order to delete input row? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-21 06:09 +0000
          Re: jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-04-22 09:52 -0700
            Re: jquery ,get the id of the input in order to delete input row? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-04-23 10:32 +0000
          Re: jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-04-22 12:53 -0700
          Re: jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-04-22 13:03 -0700
          Re: jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-05-04 13:16 -0700
      Re: jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-04-22 09:50 -0700
        Re: jquery ,get the id of the input in order to delete input row? Denis McMahon <denismfmcmahon@gmail.com> - 2012-04-23 02:10 +0000
        Re: jquery ,get the id of the input in order to delete input row? John G Harris <john@nospam.demon.co.uk> - 2012-04-23 15:10 +0100
          Re: jquery ,get the id of the input in order to delete input row? Barry Margolin <barmar@alum.mit.edu> - 2012-04-25 21:39 -0400
            Re: jquery ,get the id of the input in order to delete input row? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-26 04:35 +0200
              Re: jquery ,get the id of the input in order to delete input row? Andrew Poulos <ap_prog@hotmail.com> - 2012-04-26 15:49 +1000
                ECMAScript Support Matrix (was: jquery ,get the id of the input in order to delete input row?) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-26 10:01 +0200
                Re: ECMAScript Support Matrix Andrew Poulos <ap_prog@hotmail.com> - 2012-04-26 18:41 +1000
                Re: ECMAScript Support Matrix Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-26 11:06 +0200
                Re: ECMAScript Support Matrix Andrew Poulos <ap_prog@hotmail.com> - 2012-04-26 20:41 +1000
            Re: jquery ,get the id of the input in order to delete input row? Andrew Poulos <ap_prog@hotmail.com> - 2012-04-26 12:38 +1000
              Re: jquery ,get the id of the input in order to delete input row? Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-04-26 09:01 +0300
                Re: jquery ,get the id of the input in order to delete input row? Andrew Poulos <ap_prog@hotmail.com> - 2012-04-26 16:16 +1000
                Re: jquery ,get the id of the input in order to delete input row? Barry Margolin <barmar@alum.mit.edu> - 2012-04-26 06:52 -0400
                Re: jquery ,get the id of the input in order to delete input row? John G Harris <john@nospam.demon.co.uk> - 2012-04-26 16:30 +0100
              Re: jquery ,get the id of the input in order to delete input row? Barry Margolin <barmar@alum.mit.edu> - 2012-04-26 06:30 -0400
                Re: jquery ,get the id of the input in order to delete input row? Andrew Poulos <ap_prog@hotmail.com> - 2012-04-26 20:44 +1000
                Re: jquery ,get the id of the input in order to delete input row? Barry Margolin <barmar@alum.mit.edu> - 2012-04-26 08:34 -0400
                Re: jquery ,get the id of the input in order to delete input row? John G Harris <john@nospam.demon.co.uk> - 2012-04-26 16:49 +0100
                Re: jquery ,get the id of the input in order to delete input row? Gregor Kofler <usenet@gregorkofler.com> - 2012-04-26 18:08 +0200
                Re: jquery ,get the id of the input in order to delete input row? Scott Sauyet <scott.sauyet@gmail.com> - 2012-04-27 13:29 -0700
                Re: jquery ,get the id of the input in order to delete input row? Gregor Kofler <usenet@gregorkofler.com> - 2012-04-28 00:15 +0200
                Re: jquery ,get the id of the input in order to delete input row? Dr J R Stockton <reply1217@merlyn.demon.co.uk.not.invalid> - 2012-04-27 21:41 +0100
                Re: jquery ,get the id of the input in order to delete input row? Andrew Poulos <ap_prog@hotmail.com> - 2012-04-27 07:55 +1000
                Re: jquery ,get the id of the input in order to delete input row? Matt McDonald <matt@fortybelow.ca> - 2012-04-26 22:23 -0600
                Re: jquery ,get the id of the input in order to delete input row? Gregor Kofler <usenet@gregorkofler.com> - 2012-04-27 11:40 +0200
                Re: jquery ,get the id of the input in order to delete input row? Andrew Poulos <ap_prog@hotmail.com> - 2012-04-27 20:05 +1000
                Re: jquery ,get the id of the input in order to delete input row? "S.T." <anon@anon.com> - 2012-04-27 14:32 -0700
                Re: jquery ,get the id of the input in order to delete input row? Andrew Poulos <ap_prog@hotmail.com> - 2012-04-28 16:03 +1000
                Re: jquery ,get the id of the input in order to delete input row? David Mark <dmark.cinsoft@gmail.com> - 2012-07-05 19:52 -0700
                Re: jquery ,get the id of the input in order to delete input row? David Mark <dmark.cinsoft@gmail.com> - 2012-07-06 00:53 -0700
                Re: jquery ,get the id of the input in order to delete input row? "S.T." <anon@anon.com> - 2012-07-10 13:53 -0700
                Re: jquery ,get the id of the input in order to delete input row? Matt McDonald <matt@fortybelow.ca> - 2012-07-10 18:32 -0600
                Re: jquery ,get the id of the input in order to delete input row? "S.T." <anon@anon.com> - 2012-07-11 10:51 -0700
                Re: jquery ,get the id of the input in order to delete input row? Gregor Kofler <usenet@gregorkofler.com> - 2012-04-28 17:41 +0200
                Re: jquery ,get the id of the input in order to delete input row? "S.T." <anon@anon.com> - 2012-04-28 13:15 -0700
                Re: jquery ,get the id of the input in order to delete input row? Gregor Kofler <usenet@gregorkofler.com> - 2012-04-28 22:45 +0200
    Re: jquery ,get the id of the input in order to delete input row? Denis McMahon <denismfmcmahon@gmail.com> - 2012-04-21 14:28 +0000
      Re: jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-04-29 15:02 -0700
    Re: jquery ,get the id of the input in order to delete input row? JRough <janis.rough@gmail.com> - 2012-04-22 12:34 -0700
  Re: jquery ,get the id of the input in order to delete input row? Matt McDonald <matt@fortybelow.ca> - 2012-04-21 11:02 -0600
    Re: jquery ,get the id of the input in order to delete input row? Denis McMahon <denismfmcmahon@gmail.com> - 2012-04-21 17:12 +0000
      Re: jquery ,get the id of the input in order to delete input row? Matt McDonald <matt@fortybelow.ca> - 2012-04-21 11:37 -0600
        Re: jquery ,get the id of the input in order to delete input row? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-21 20:59 +0200
    Re: jquery ,get the id of the input in order to delete input row? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-21 20:46 +0200

csiph-web