It's submit to another asp page.
Inge
> ----------------------------------------
> From: Nyman, Robert <Robert.Nyman@i...>
> Sent: Mon Oct 01 14:50:16 GMT+02:00 2001
> To: javascript <javascript@p...>
> Subject: [javascript] RE: onclick different result in IE 5 and 5.5
>
>
> Does the form submit to it's own page or another frame (i.e. what's the
> frame's target)?
>
> If it submits to itself, why change the location?
>
>
> /Robert
>
>
> -----Original Message-----
> From: Inge Wynants [mailto:inge.wynants@m...]
> Sent: den 1 oktober 2001 14:33
> To: javascript
> Subject: [javascript] onclick different result in IE 5 and 5.5
>
>
> Hello,
>
> I have an asp file that uses 3 buttons. Each button gives the same form to
> an asp file. This is the code.
>
> <tr><td><img src="images/GaNaarAT.gif" width="113" height="25" border="0"
> alt="Ga Naar AT" style="cursor: hand"
> onClick="formulier.submit();document.location.href='TPA_ATKeuze.asp'"></td>
> <td><input type="image" src="images/KnopTPAAanvraag.gif" border="0" alt="TPA
>
> Aanvraag"></td>
> <td><img src="images/Opslaan.gif" width="113" height="25" border="0"
> alt="Opslaan" style="cursor: hand"
> onClick="formulier.submit();document.location.href='TPA_Uitvoerder.asp'"></t
> d></tr>
>
> The formulier.submit();document.location.href='...' works in internet
> explorer 5 but not in 5.5. Can someone help me on this?
>
> Thanks
> Inge