Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

206
Visualizações
Pagination with select menu and buttons discord.js

Something similar to dank memer I've been trying on how can we achieve where we can make a select menu for selecting categories and buttons to navigate through pages of those categories, the content in each category is an array. If someone could guide me, that'd be great! I have these two array's

const animals = ["Aardvark","Albatross","Alligator","Alpaca","Ant","Anteater","Antelope","Ape","Armadillo","Donkey","Baboon","Badger","Barracuda","Bat","Bear","Beaver","Bee","Bison","Boar","Buffalo","Butterfly","Camel"]

const tests = ["test1", "test2", "test3", "test4", "test5", "test6", "test7"]

So what I'm looking for is on how do I make the animal and tests to show in a select menu, and on selecting the animal category the animal array should be divided into pages with let's say 15 items per page, and user can navigate through them through buttons as shown in the image Similarly if user selects the tests array, the array contents should divide into pages with 15 elements per page and a button to navigate through those pages

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda