Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between “js” and “js-2” as the search-engine language?

difference js Language
0
Posted

What is the difference between “js” and “js-2” as the search-engine language?

0

Both js and js-2 will result in a search engine written in javascript and running in the browser. The difference is that js will result in the search engine being embedded in the search form itself. In that case the search engine will not be in a separate file. That is why you do not need to specify the location of the search engine when using js as the search-engine language. So it would seem that js would be preferred since there is only one file involved, and there would never be a reason to use js-2. However there were some unorthodox tricks used to allow the search engine to run inside the search form. These tricks cause the resulting search tool to be lacking some functionality. For example they prohibit the use of a link on the results page to display the next or previous set of matches. And there are other limitations as well. For these reasons, js-2 is actually more desirable to use even though it means that you will have two separate files — one for the search form and the o

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123