La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
Hi, there! I have a question to help the community better understand your issue.
Question – does your node object have a parent node property of its own? It looks like you may need to adjust your code to reference node.parentNode.parentNode to access the “grandparent” node of the current node.
It's hard to be certain without knowing how your menu function is set up.
Thank you for the additional information! — Jaycee