> >
> > Oh, gosh, no need to be a javascript guru for that
> >
> > <input type=submit onsubmit="q.value += 'site:xml.apache.org'">
> >
> > might do it. (you might need to add id=q to the text field) I can
> > investigate this more if we are going in this direction.
>
> This is why I asked for a guru 'cause it's not going to work with your way
;) i
> already checked that out yesterday.
>
'onsubmit' is allowed only for a form tag and not an input. I've tried this
and it worked:
<!-- Search Google -->
<form method="GET" action="http://www.google.com/search"
onsubmit="q.value += ' site:xml.apache.org'">
<input type=text name=q size=31 maxlength=255 value="">
<input type=submit name=btnG value="Google Search">
</form>
> <!-- Search Google -->
Regards,
Konstantin Piroumian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]