|
prefect posted:Well, you kinda have to learn Javascript before you can use Jquery.
|
# ? Jan 4, 2013 19:15 |
|
|
# ? May 8, 2024 04:40 |
|
Gazpacho posted:this is so empirically wrong its sad people who write javascript for browsers without knowing anything about it or the dom are the loving worst
|
# ? Jan 4, 2013 19:19 |
|
Deus Rex posted:people who write javascript are the loving worst
|
# ? Jan 4, 2013 19:21 |
Deus Rex posted:people who write javascript for browsers without knowing anything about it or the dom are the loving worst maybe if people wrote quality books on the dom instead of waxing poetic about the prototyping system/structure of objects in js, it would be easier to use a language which was designed for the browser that's why people just use jquery and $('.selector') everything because clearly almost no one knows how the gently caress to do anything else otherwise
|
|
# ? Jan 4, 2013 19:28 |
|
prefect posted:Well, you kinda have to learn Javascript before you can use Jquery.
|
# ? Jan 4, 2013 19:30 |
|
prefect posted:Well, you kinda have to learn Javascript before you can use Jquery. if you want to be a js programmer, sure. if you just want to fling some divs around you can probably get away without it.
|
# ? Jan 4, 2013 19:32 |
|
wolffenstein posted:not really, you have to learn dom before using js or jquery nope, you just google the words your boss said with "jquery" and insert the code and make sure your html is exactly the same if that doesn't work go ask on stack homeworkflow if that doesn't worok find the same plugin for mootools and add another 100kb of that to the page i worked at an interactive agency for a year, i know how poo poo gets done
|
# ? Jan 4, 2013 19:52 |
|
thanks for the advice how!!
|
# ? Jan 4, 2013 19:56 |
|
https://www.google.com/search?q=if+statement+in+jquery https://www.google.com/search?q=declare+variable+in+jquery https://www.google.com/search?q=create+array+in+jquery https://www.google.com/search?q=define+function+in+jquery Gazpacho fucked around with this message at 20:10 on Jan 4, 2013 |
# ? Jan 4, 2013 20:08 |
|
i really wish i could find the homework overflow post where abez asked for how to do math in jquery and replied with jquery.arithmetic.js that he also wrote (abez is goddamn insane)JavaScript code:
|
# ? Jan 4, 2013 20:24 |
|
to use jquery, you have to know what a css selector is and what a javascript function is so that you can do $('.thread .post.userid94248').each(function(index, elem) { elem.css('display', 'none'); }); which is 90% of your jquery code.
|
# ? Jan 4, 2013 20:25 |
|
Wheany posted:$('.thread .post.userid94248').each(function(index, elem) { yeah its that stuff i dont care for
|
# ? Jan 4, 2013 20:26 |
|
Wheany posted:to use jquery, you have to know what a css selector is and what a javascript function is so that you can do most jquery users don't make it that far, they want magic incantations, not functions and selectors
|
# ? Jan 4, 2013 20:35 |
|
also you're bad at jquery, it'sJavaScript code:
|
# ? Jan 4, 2013 20:36 |
|
Cocoa Crispies posted:also you're bad at jquery, it's JavaScript code:
|
# ? Jan 4, 2013 20:38 |
|
Gazpacho posted:http://stackoverflow.com/questions/4715780/jquery-multiply-a-number-with-7-5 oh hey, that last one points to abez's
|
# ? Jan 4, 2013 20:38 |
|
gucci void main posted:maybe if people wrote quality books on the dom instead of waxing poetic about the prototyping system/structure of objects in js, it would be easier to use a language which was designed for the browser this and then chapter three of this. the fact that it took me that long to remember the one good dom book i've found kind of proves your point, though.
|
# ? Jan 4, 2013 20:38 |
|
Cocoa Crispies posted:Timothy Goatse mods etc.
|
# ? Jan 4, 2013 20:39 |
fidel sarcastro posted:this and then chapter three of this. the fact that it took me that long to remember the one good dom book i've found kind of proves your point, though. i've heard of the first one though i never read it, and saw the second on amazon but i guess that's just a small chapter but yeah it's really sad
|
|
# ? Jan 4, 2013 21:24 |
let's optimize our javascript *installs noscript*
|
|
# ? Jan 4, 2013 21:28 |
|
i know it's a good thing that looking over stuff i wrote just two months ago now disgusts me, but jesus why was i using nested if statements for everything.
|
# ? Jan 5, 2013 00:05 |
|
fidel sarcastro posted:i know it's a good thing that looking over stuff i wrote just two months ago now disgusts me, but jesus why was i using nested if statements for everything. just wait until you see your posting from back then
|
# ? Jan 5, 2013 00:25 |
|
polpotpi posted:just wait until you see your posting from back then this is why i refuse to pay for archives
|
# ? Jan 5, 2013 00:31 |
|
i prefer subs to doms tbh
|
# ? Jan 5, 2013 00:44 |
|
fidel sarcastro posted:i know it's a good thing that looking over stuff i wrote just two months ago now disgusts me, but jesus why was i using nested if statements for everything. haha i do this and its hilarious so bad poo poo worked though
|
# ? Jan 5, 2013 01:12 |
|
sometimes i look at code i have written in the past and i'm like "drat this is good code"
|
# ? Jan 5, 2013 02:54 |
|
Dicky B posted:sometimes i look at code i have written in the past and i'm like "drat this is good code" every time i think that i worry about dunning-kruger and if i only think it's good because i don't know any better
|
# ? Jan 5, 2013 02:58 |
|
Cocoa Crispies posted:every time i think that i worry about freddy krueger
|
# ? Jan 5, 2013 03:57 |
|
shameless self promotion, but i've put another mechanically recovered post up about spolsky http://programmingisterrible.com/post/39726288528/hungarian-notation-security-by-anecdote atwood, you're next.
|
# ? Jan 5, 2013 07:34 |
|
"the law of leaky abstractions" is a trainwreck of naivete and ignorance, everyone please stop citing it
|
# ? Jan 5, 2013 07:59 |
|
everything i needed to know about spolsky i learned by trying to use fogbugz
|
# ? Jan 5, 2013 08:30 |
|
tef posted:shameless self promotion, but i've put another mechanically recovered post up I once had a boss who wanted me to use Hungarian notation in Perl because he couldn't handle the idea that variables that started with @ were arrays. Also, you need to add one of those G+1 buttons on your posts so I can tell the Internet that I approve.
|
# ? Jan 5, 2013 08:34 |
|
rotor posted:everything i needed to know about spolsky i learned by trying to use fogbugz else print kddddddddddddddd
|
# ? Jan 5, 2013 09:10 |
|
i want tef trading cards
|
# ? Jan 5, 2013 09:51 |
|
vapid cutlery posted:i want tef trading cards yo i gotta long haired first edition
|
# ? Jan 5, 2013 09:52 |
|
wanna trade?
|
# ? Jan 5, 2013 09:52 |
|
tef posted:shameless self promotion, but i've put another mechanically recovered post up noice
|
# ? Jan 5, 2013 10:32 |
|
i want the rare rookie card when he actually smiled for the pic
|
# ? Jan 5, 2013 12:10 |
|
|
# ? May 8, 2024 04:40 |
|
my tef cards came with bubblegum
|
# ? Jan 5, 2013 12:23 |