Populate Form Field from Pop Up Window DRW Hyperlink (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


sentinel -> Populate Form Field from Pop Up Window DRW Hyperlink (10/4/2005 17:40:54)

Hey all..

I have a form page with one field on it. This field is called "TO:".

Next to the field I have a button that pops up a window which displays a FPDRW.

I would like to be able to Hyperlink from the pop up drw window and send the value to the "TO:" field on the page that spawned it.

I can do everything but get it to put the value into the "TO:" field on the originating page.

This is the script i use on the spawned page:

<script language="javascript">
 function to() 
  {
   opener.document.input.compose.to = 'hello';
 }
  </script>




any ideas?




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625