Recherches récentes


Pas de recherche récente

Rasmus Hedback's Avatar

Rasmus Hedback

Adhésion le 14 mars 2023

·

Dernière activité le 25 oct. 2023

Suivis

0

Abonnés

0

Activité totale

3

vote

1

Abonnement

1

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Rasmus Hedback

Rasmus Hedback a ajouté un commentaire,

Commentaire de la communauté Q&A - Help center and community

Another approach would be to let the form build the correct query string when submitting it, simply add a hidden input by adding this to script.js

const search_form = document.querySelector('form.search');
const input = document.createElement('input');
input.setAttribute('type', 'hidden');
input.setAttribute('name', 'type');
input.setAttribute('value', 'knowledge_base');
search_form.appendChild(input);

Afficher le commentaire · Modification le 25 oct. 2023 · Rasmus Hedback

0

Abonnés

1

vote

0

Commentaire