Alistair Johnson wrote:
document.searchform.q = document.searchform.search;
Try: document.searchform.q.value = document.searchform.search.value;
This seems to work for me, testing in Firefox 1.0.2.
Also, consider using the <form>'s onsubmit handler instead of the button's onclick.
-- brion vibber (brion @ pobox.com)