Sorry, I dont know what "server side language" is.

Its written in javascript (very basic) and the database is more of a list of about 6000 entries on a single page.
What I'm trying to make it do is essentially find the word and then create a link to another page where the rest of the information is, eg:
Database:
Coffee
Milk
Sugar
Tea
Water
Coffee with sugar
etc
Search for, say Sugar and the results would be
1. Sugar
2. Coffee with sugar
which I can then link to the appropriate page.
Hope that makes sense, I'm fairly new to this sort of thing
AS