We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15558
    • 108 Posts
    I hope everything is in the question...

    I'd have to list some products using getResources and give the possibility to choose which criteria the products are sorted by, using a <select> dropdown list, that would display the TV's. It might sound simple to do but I have poor dev experience. Can someone try to lay some track for me please ?
      Sorry for that ⇧ , I'm no dev but I wanna try
      • 34183
      • 23 Posts
      Can you load all of the tv's and do the sort/filter in Javascript? I can't think of a way to change a getResources call without a page reload with a url parameter.
        • 15558
        • 108 Posts
        huh i can load all the TVs indeed but i have no clue about how to do the sort in Javascript...
          Sorry for that ⇧ , I'm no dev but I wanna try
          • 34183
          • 23 Posts
          Here's a couple links to some jQuery options:

          http://codecanyon.net/item/simple-content-sorting/472808
          http://tinysort.sjeiti.com/

          I would probably add a data attribute to the tv's output and sort by those. Hard to tell the exact scenario without a demo link.
            • 15558
            • 108 Posts
            Thank you audioroger I'll try to check this out
              Sorry for that ⇧ , I'm no dev but I wanna try