This is a JAVA group not Javascript !
--
With many Thanks
Soren ' Disky ' Reinke ICQ #1413069
http://www.disky-design.dk/fish
Remove IHSYD from email address when replying by email
"Villy Skov" <villyskov@my-deja.com> skrev i en meddelelse
news:6a0581f1.0111212353.23460d25@posting.google.com...
> When i run this script, it calls the Submithandle like is shuld
>
> If i add the line <base href="/"> at the top, the form don't
find the
> submitHandle, what is happening?
>
> Is there a way to call the function when i have the <base
href="/"> ?
>
>
>
> -----Start script-------
>
>
> <script language="javascript">
> <!--
>
> function submitHandler()
>
> {
> qs += "navn=" + document.inputforma.navn.value;
>
>
> document.location = "/sv_nytlaan.htm?" + qs +
"&bannersite=LIH");
>
> return true;
>
> }
>
> // -->
> </script>
>
>
> <form name=inputform action="/sv_nytlaan.htm" method="get">
>
> <INPUT NAME="navn" VALUE="Indtast dit navn">
>
> <input type="Submit" value=" Send" onClick="submitHandler();">
>
> </form>
>
> ------End Script--------