Jump to content

Tim Jordan

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tim Jordan

  • Rank
    Newbie
  1. Thank you! not sure why that worked, but i pasted it below my list like you have it and now it works
  2. Hi everyone, I've been trying to look into getting a function to run whenever a page loads instead of having it happen on button click. To be more specific, I have an unordered list that I wanted sorted Alphabetically when it is loaded so there doesn't have to be a sort button on the top of the page. The page is an article inside of a main page and inside that article section is where the list is contained. I have tried the script from here: https://www.w3schools.com/howto/howto_js_sort_list.asp and it works when i have a button and click, but when I try to get it to run automaticall
  3. Hi, I was able to implement this clickable dropdown once into my page: https://www.w3schools.com/howto/howto_js_dropdown.asp However, when trying to add it to a second page it doesn't seem to work. For background my page is 1 html file that is divided into article sections. In 1 section I was able to put this in and have it work for that articles page. However, when doing it for another article section although the button shows up, its clickable functions don't work. I click but nothing happens. I copied and pasted the code from the other article section there and changed the op
×
×
  • Create New...