Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Get value from popup(jsp) to parent(jsp) form

Reply
Thread Tools

Get value from popup(jsp) to parent(jsp) form

 
 
ctbang
Guest
Posts: n/a
 
      01-20-2006
I have a JSP page with a form containing 2 text fields (infact there
are many) and I want to add the feature of a help button (instead of
drop down). On clicking the button it should popup a jsp page
displaying records, afer selecting the record and clicking ok the
window should close and populate the corresponding data to the parent
form text fields.

Infact the popup will be calling a controller servler, it will create a
arraylist object in session and forward to a jsp page where the records
are displayed.

Moreover i want to use javascript only, to communicate between the
parent and popup.
I don't want to put the data into session and reload the whole parent.

Any help or idea is appreciable!

 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      01-20-2006
ctbang wrote:

> [...] On clicking the button it should popup a jsp page
> displaying records, afer selecting the record and clicking ok the
> window should close and populate the corresponding data to the parent
> form text fields.
> [...]
> Any help or idea is appreciable!


`window.opener' in the popup refers to the "parent" window. See numerous
discussions before.


PointedEars
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get ubuntu ! Get ubuntu ! Get ubuntu ! Get ubuntu ! Getubuntu Windows 64bit 1 06-01-2009 08:54 AM
How to retrieve form field value if form is EncType=multipart/form-dataForm? Li Zhang ASP .Net 4 02-27-2009 01:23 AM
Loop Form - extract display 'value' as well as form value? ASP General 2 02-20-2006 09:36 PM
Pass a form value that is different from selected value Iceman HTML 1 01-07-2004 03:29 PM
how to change the value of a hidden form value on submit Matt Herson Javascript 8 09-30-2003 05:18 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57