Jump to content


Javascript transfer of data input or selection to page


1 reply to this topic

#1 missionaire

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 08 March 2007 - 11:57 PM

Hi all,

The basic concept of the issue is that, I needed some tutorials or help that is on transferring the data to the text box. I know javascript can do it, but I have no idea how this can be done.

For example like the address book, we click on a little icon or image by the side of a text box, and a popup window will show the list of all names that is available in the address book. When you click on one of the names (be it by check box, or drop down selection), the name is transferred to the text box, and the popup window closes.

I tried to look for tutorials on this issue, but maybe I am not sure of the correct term, and hence ended up with search that is irrelevant to the issue.

Please help.

Thanks in advance.

Edited by missionaire, 08 March 2007 - 11:58 PM.


#2 Demonslay

    P2L Jedi

  • Members
  • PipPipPip
  • 970 posts
  • Gender:Male
  • Location:A strange world where water falls out of the sky... for no reason.
  • Interests:Graphic Design, Coding, Splinter Cell, Cats

Posted 09 March 2007 - 04:32 PM

You can access the properties and elements of the main window from the 'opener' element.
For example, I could access functions from the original opener like this.
opener.foo();

Simply edit the value like this.
opener.formName.textField.value = valueToMake






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users