[Mediawiki-l] Switching between mediawiki and another search engine
Alistair Johnson
JohnsonA at rembrandt.co.nz
Wed Mar 23 22:21:03 UTC 2005
Thanks Brion, that was it :-)
Cheers, al.
-----Original Message-----
From: Brion Vibber [mailto:brion at 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)
More information about the MediaWiki-l
mailing list