According to Anthony E.:
> Why couldn't you just write a javascript that changes
> the <form action=""> parameter if searchA is checked
> rather than searchB...then submits the form?
> 
> ie - <form action="/htdig" onSubmit="checkSearch();">
> 
> the javascript checkSearch() function would test which
> radio button was checked, and then dynamically change
> the "action" attribute to the correct search url.

Sure.  I know almost nothing about JavaScript, so it didn't occur to me
that this was an option.  Can you contribute or point us to a working
example of this?  The only problem with this is that if the user turns
off JavaScript, the engine selection won't work, but that may or may
not be a concern for some htdig users.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to