Thanks Brion, that was it :-)
Cheers, al.
-----Original Message----- From: Brion Vibber [mailto:brion@pobox.com] Sent: Thursday, 24 March 2005 10:17 a.m. To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Switching between mediawiki and another search engine
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)
mediawiki-l@lists.wikimedia.org