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

Re: frames and links



I saw that Gordon already answered. He described how to get a value
   from the second frame. I am just adding that after having this value,
   you must put it into href(s) in the first frame in onClick event:

   <a href="" onClick="this.href='http://blabla?field1=XXXX'">link</a>

   where XXXX is an expression 'parent.frame2.....' (see Gordon).

Regards,
Martin

> 
> Hi
> I've a problem with a page with two frames
>   The first one contains a lot of links to scripts with parameters as
>     <A HREF=......?field1=....&field2=....
> 
>   The second frame contains a FORM that must contain TEXT fields to input 
> the values of fields field1 and field2
> 
> How can I do to obtain the value of the fields of the second frame,
> incorporate it into the HREF of the frame1 to submit?
> 
> If you are a genial idea....
> 
> Thanks
> Michel
> 
> --------------------------------------------------------------------
> For help about the list, please send a message to 'majordomo@obscure.org'
> with the message body 'help'. To unsubscribe, send a message to
> 'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
> List archives and pointer to FAQ: http://www.obscure.org/javascript/
> 


-- 
------------------------------------------------------
| Martin Senger     m.senger@dkfz-heidelberg.de      |
|                   voice: (0049) 6221/422340        |
|                   fax:   (0049) 6221/422333        |
------------------------------------------------------
--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/