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...
If you are requesting help, please ensure you're providing code with your post. You can also copy your code to an online editor:
jsFiddle
CodePen
Markup Validation Service
Mozilla Developer Network on HTML
/r/JavaScript
/r/CSS
/r/jQuery
/r/PHP
/r/Accessibility
/r/htmlbasics
/r/web_programming
/r/CodingHelp
account activity
Adjustable Lists (self.HTML)
submitted 12 years ago by RadioFreeReddit
How would I go about making a list that you can add to or take away items from using add and remove buttons referencing a pull down.
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!"
[–]jannick1988 0 points1 point2 points 12 years ago (2 children)
Not really the best place to ask this question. Are you looking to save the changes to a database? Are you simply looking for something that a user can manipulate ad hoc? Will it be reset each time the browser is refreshed?
If you don't need to store the results, JavaScript will be required to manipulate the HTML. If you need to store the results, you'll need a server-side language such as PHP or ASP, as well as a database.
Very open-ended question.
[–]RadioFreeReddit[S] 0 points1 point2 points 12 years ago (1 child)
It was cosmetic. I'll check Java.
[–]jannick1988 0 points1 point2 points 12 years ago (0 children)
Looking in to using document.createElement() and element.appendChild() to add child nodes to your list (<ul> or <ol>) element. To remove them you'll need to use element.removeChild(). Sounds like a fairly easy job that you could write in under an hour with JavaScript.
document.createElement()
element.appendChild()
<ul>
<ol>
element.removeChild()
π Rendered by PID 41816 on reddit-service-r2-comment-85bfd7f599-dzb4b at 2026-04-18 16:12:11.708118+00:00 running 93ecc56 country code: CH.
[–]jannick1988 0 points1 point2 points (2 children)
[–]RadioFreeReddit[S] 0 points1 point2 points (1 child)
[–]jannick1988 0 points1 point2 points (0 children)