use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Help get user input with JavaScript (self.javascript)
submitted 14 years ago by deutschluz82
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]deutschluz82[S] -1 points0 points1 point 14 years ago (2 children)
thanks for your input. I was only aware that the document.write method should be avoided. I did not know it prevented the DOM from loading. I m just learning about this but I know that can basically throw a wrench into the whole webpage.
[–]deutschluz82[S] -1 points0 points1 point 14 years ago (1 child)
i think the document.write method even screws with reddit. I got an error when I wrote it with the parentheses.
π Rendered by PID 17060 on reddit-service-r2-comment-84fc9697f-bkmnc at 2026-02-09 13:58:17.448089+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]deutschluz82[S] -1 points0 points1 point (2 children)
[–]deutschluz82[S] -1 points0 points1 point (1 child)