Search field in documents?

On our website we have a search field in the menu frame. Now when we are changing our website and leaving the frames to a table based website, we want the search field to work in created documents.

A notes search field is not possible to use in this case, because it will not be editable. I have to use a HTML field, but how do get the search agent to perform a search and open the search results based on the values in the HTML field?

Thanks in advance

F.F.

Subject: javascript

Javascript search button:

var f = document.forms[0];

var pathname = window.location.pathname.toLowerCase().split (“.nsf”);

window.location=pathname[0]+“.nsf/searchview?searchview&Query=”+

escape(document.forms[0].zSearchQuery.value);

where “zSearchQuery” is your computed-text HTML field: