I need to create a basic HTML select box that will contain all my products. This select box will then be displayed on all my pages and allow visitors to quickly select a product in the select box and it will then forward them to the correct page.
Considering I have thousands of products, I was hoping to make this select box in an external JS file so search engines don't have to read through all the code.
Is it possible to call in an external JS file that creates this select box? This will mean it only takes up one line of code on the page and a search engine doesn't have to read through all the select box' code.