|
stoops posted:I don't know much javascript or jquery. I mean, I can modify and get things to work, but i'm not comfortable writing it from scratch. http://javascriptissexy.com/how-to-learn-javascript-properly
|
# ¿ Jul 17, 2014 19:57 |
|
|
# ¿ Apr 29, 2024 11:37 |
|
D3.js question: If i do: code:
If i wrap the second part in a function and call that function it works, printing a bunch of hail satan paragraphs: code:
|
# ¿ Sep 3, 2015 14:37 |
|
i have a simple div:code:
If i do code:
If i do code:
I also tried using plain javascript, but if i do code:
Clearly im doing something wrong with the spans, but i cannot figure it out.
|
# ¿ Dec 20, 2015 11:07 |
|
Clark Nova posted:With both jQuery and DOM, it looks like it can't find elements with the IDs "minutes" and "seconds." If you use $.text() or $.html() on a parent, it'll wipe out everything inside it, and you'll have to reload to get them back. Ah, this explains what is happening. I set an initial time value at the parent level before allowing to change it. If i remove that part it all works like i wanted it to. Thank you and also Kekekela for looking into it! This wasnt how i would have expected it all to work, so it was a good lesson to learn.
|
# ¿ Dec 20, 2015 20:17 |
|
Skandranon posted:Yes, that's a cute answer. I'd then ask you to write out _.isEqual(). Lol if you expect your developers to copy existing functionality for the sake of it.
|
# ¿ Jun 18, 2017 18:20 |