[Javascript] Stupid Q on FORMS & TARGET

Peter-Paul Koch gassinaumasis at hotmail.com
Fri Mar 29 00:45:47 CST 2002


>I know I am overlooking something really simple here.
>
>I want to get the result back from a FORM submit and place it into a
>particular FRAME.
>
><form action='http://webdev1/logon.do'
>       method='post'
>       name='logonForm'
>       id='logonForm'
>       target='master.left'>
>
>This tells me that the reply should show up in the FRAME named LEFT in the 
>WINDOW named MASTER.
>
>Right!?!?

Wrong. It tells that the reply should show up in the frame named 
"master.left" If you wnat the reply in frame left, simply do

   target="left">

In HTML you don't need to give the path to the frame through all other 
frames, as you do in JavaScript.

ppk

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




More information about the Javascript mailing list