Jump to content

entering form field value in parent window?


chiprivers

Recommended Posts

I have a link in a form that opens a new window holding a list of names, I would like to be able to click on one of the names in the new window and it be entered into the form field of the original window.

 

I have toyed around with some java script but I can not get it to work, can anyone help?

 

I was expecting something like this in the new window link:

 

< a href="#" onClick="parent.document.form_name.form_field.value = "value"; return false">Value</a>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.