Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Stupid Q on FORMS & TARGET


  • From: javascript@xxxxxxxxxx (Peter-Paul Koch)
  • Subject: [Javascript] Stupid Q on FORMS & TARGET
  • Date: Fri, 29 Mar 2002 06:45:47 +0000

>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