Want to use popup child window

Hi everybody.....
In my page i have a button. on clicking this button another window is opened which contain only a single textarea and a button. I want to get the text (written in the text area) when user click on that button of the new window i come back to original window with that text information. how can i do this? i know that with DOM i can do in my jsp. but how? Can anybody know this?
- Jignesh

window.opener will give you a reference to the parent window.
My preferred method is to write a javascript function inside the parent window which is called by the child window, rather than the child window directly accessing fields/properties on the main window.
  // in child.jsp
  var value = document.forms[0].txtInput.value;
  window.opener.callBackFunction(value)
  // in parent.jsp
  function callBackFunction(text){
    // do something with this text value

Similar Messages

  • I have an Apple pro wired keyboard that I want to use with a Windows PC.  It seems to recognize it through plug

    I have an Apple pro wired keyboard that I want to use with a Windows PC.  It seems to recognize it through plug & play, but stops working after a few minutes.  Does anyone know of a fix to this situation?

    Hi,
    Could you explain that again using different words ?
    I am not clear on what it is that you want to do.
    What are you trying to sync ?
    Contacts ?
    Emails ?
    Other info ?
    If it is Mail who do you normally get it and what applications are you using ?
    People also might want to know if it is a POP or IMAP account before they can help.
    9:05 PM      Monday; July 2, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I want to use the full windows 10 and customize it to see how i like it but i need to activate windows

    I want to use the full windows 10 enterprize and customize it to see how i like it but i need to activate windows 

    Hi,
    Windows 10 full version has not been released at this moment, as mentioned in the first reply, you can use the Windows 10 Technicla Preview, a product key is not required for this software, you can get latest news by subscribing
    Windows IT Pro Insider
    Yolanda Zhu
    TechNet Community Support

  • I want to use Skype in Windows 8 mode (app way)

    Hi,  I have been using skype for 3 years and last night I opened skype and it told me to download the new version. I did and it was the destop version.... I want to use skype which is in Windows 8 mode. The way it is used as an app. How can I do that? Help me please I have windows 8.1  Thank you

    The "modern" Skype app for Windows 8/8.1 was disabled as per July 7. http://blogs.skype.com/2015/06/11/a-more-efficient​-skype-experience-for-your-pc/

  • I want to use Bootcamp for Windows 7. Need Help

    I want to install Windows 7 onto my Macbook Pro using Leopard software.
    I go to Utilities and run Boot Camp Support Software. When I get to the "Download Windows Support Software" I click on "Download the Windows support software for this Mac." When I do, it comes back unable to download the software.
    What am I doing wrong, or what other step can I take to download this support software?
    Thanks for any help.
    D

    You always need drivers for a computer.
    And after Windows is installed, you have to run Setup.exe off your OS X DVD.
    Apple has so far failed to provide pre-install drivers except for MacBook Air. And that is what is being referred to - the pre-install part is totally borked.

  • Have Linux Firefox 3.6 Profile. Want to use this for Windows pc

    Hello,
    I have Firefox 3.6.8 in Linux.
    I have a fresh install of Windows 7 on another PC. I am going to install Firefox onto that machine. But would like the data from the profile stored on my Linux machine. Especially the stored passwords.
    Can I "copy" the Firefox 3.6.8 profile from the Linux machine and "paste" it into my Windows 7 machine?
    Thank you.

    You can copy some of the files from the Linux profile to the Windows profile. For details of the files to copy, see the "Suggested profile contents to transfer" section of [http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox Transferring data to a new profile - Firefox - MozillaZine Knowledge Base]
    As you will be using a different OS, do not copy mimeTypes.rdf

  • Remove Child Window from Parent using WIN API

    Hello all,
    I am using User32.dll to make a parent-child relationship between two VIs. I use SetParent function, and pass the handle of parent VI and child VI to this function. Now, after this relationship has been established, I want to remove the child window from the parent and use it as a independent VI using WIN API. Can anyone help me on this?
    Thanks in advance!
    Fragger Fox!
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"
    Solved!
    Go to Solution.

    You should be able to set a NULL handle to undo the parent-child relationship and make the child window again a normal top level window. Setting the desktop as parent is probably not the same as being a top level window.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Click a Butoon in RowDetailsTemplate to show a Child Window

    Hi All
    I want to show a Child Window When Clicking a Button in DataGrid RowDetailsTemplate
    my xaml is as below
    <sdk:DataGrid.RowDetailsTemplate>
    <DataTemplate>
    <Button Content=" Show Child " x:Name="bPish" Click="bPish_Click"/>
    </DataTemplate>
    </sdk:DataGrid.RowDetailsTemplate>
    and in cShrp Code
    private void bPish_Click(object sender, RoutedEventArgs e)
    Child150Pish ps = new Child150Pish();
    ps.Show(); // this mehod no available
    How can I Show my Child Window
    Thanks

    Hi,
    Please try to use code below:
    ChildWindow cw = new ChildWindow();
    cw.Content = "Please Enter your name and password or click Cancel.";
    cw.Show();
    For more informaiton,please see:
    http://msdn.microsoft.com/en-us/library/system.windows.controls.childwindow(VS.95).aspx
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • C# MDI application: how to scale child windows when main window is re-sized?

    Hi,
    I have an MDI application that have several child forms.  Users can view several forms at one time, and users also are given the options to arrange the child forms anyway they want:  cascade or tile.  What I want to achieve is that if the
    parent window is re-sized, all child forms should also be re-sized proportionally.   The code that I have only work if the child forms are tiled horizontally, AND that I only make the main window wider.  Otherwise, all forms are scaled (but not perfect),
    however, the location is not scaled; therefore, they are overlapping each other.   I greatly appreciate any help from you.  
    Size m_preSize;
    private void MainForm_ResizeBegin(object sender, EventArgs e)
    m_prevSize = this.ClientRectangle.Size;
    private void MainForm_ResizeEnd(object sender, EventArgs e)
    int iWidth = m_prevSize.Width;
    int iHeight = m_prevSize.Height;
    double dXFactor = (double)(this.ClientRectangle.Width) / (double)iWidth;
    double dYFactor = (double)(this.ClientRectangle.Height) / (double)iHeight;
    foreach (Form c in this.MdiChildren)
    if (!c.Visible)
    continue;
    if (c.WindowState == System.Windows.Forms.FormWindowState.Maximized ||
    c.WindowState == System.Windows.Forms.FormWindowState.Minimized)
    // DO not ajust on resize if a child window is at its Maximized state
    return;
    c.Scale(new SizeF((float)dXFactor, (float)dYFactor));
    Best Regards,
    Emily

    Hi Badidea,
    Once again, I did not explain my idea clearly.  I am sorry about that.  I only wanted to scale the child-windows as the parent re-sized.  And yes, if the child-windows fill up the view-able area of the parent's window, I would like them to
    also fill up the  view-able area of parent's window once again after re-size of parent window.  No scroll should be involved.
    Regards,
    Emily
    Hello,
    It depends on how you cascade or tile these forms.
    In this case, I would recommend you use this way below.
    1. Layout with splitContainers.
    2. Set each child form's toplevel to false, then add them to the panels of splitContainers.
    3. Resize these form to fit the panels.
    4. repeat #3 inside the main form's resize event.
    Here is a simple sample.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    namespace _150313AutoSizeMdiChiledForm
    public partial class MainForm : Form
    public MainForm()
    InitializeComponent();
    Form1 f1 = new Form1();
    Form2 f2 = new Form2();
    Form3 f3 = new Form3();
    private void MainForm_Load(object sender, EventArgs e)
    f1.TopLevel = false;
    this.splitContainer2.Panel1.Controls.Add(f1);
    f1.Size = this.splitContainer2.Panel1.ClientSize;
    f1.Show();
    f2.TopLevel = false;
    this.splitContainer2.Panel2.Controls.Add(f2);
    f2.Size = this.splitContainer2.Panel2.ClientSize;
    f2.Show();
    f3.TopLevel = false;
    this.splitContainer1.Panel2.Controls.Add(f3);
    f3.Size = this.splitContainer1.Panel2.ClientSize;
    f3.Show();
    private void MainForm_Resize(object sender, EventArgs e)
    f1.Size = this.splitContainer2.Panel1.ClientSize;
    f2.Size = this.splitContainer2.Panel2.ClientSize;
    f3.Size = this.splitContainer1.Panel2.ClientSize;
    Designer code.
    namespace _150313AutoSizeMdiChiledForm
    partial class MainForm
    /// <summary>
    /// Required designer variable.
    /// </summary>
    private System.ComponentModel.IContainer components = null;
    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    protected override void Dispose(bool disposing)
    if (disposing && (components != null))
    components.Dispose();
    base.Dispose(disposing);
    #region Windows Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    this.splitContainer1 = new System.Windows.Forms.SplitContainer();
    this.splitContainer2 = new System.Windows.Forms.SplitContainer();
    ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
    this.splitContainer1.Panel1.SuspendLayout();
    this.splitContainer1.SuspendLayout();
    ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
    this.splitContainer2.SuspendLayout();
    this.SuspendLayout();
    // splitContainer1
    this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
    this.splitContainer1.Location = new System.Drawing.Point(0, 0);
    this.splitContainer1.Name = "splitContainer1";
    this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
    // splitContainer1.Panel1
    this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
    this.splitContainer1.Size = new System.Drawing.Size(607, 411);
    this.splitContainer1.SplitterDistance = 198;
    this.splitContainer1.TabIndex = 0;
    // splitContainer2
    this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
    this.splitContainer2.Location = new System.Drawing.Point(0, 0);
    this.splitContainer2.Name = "splitContainer2";
    this.splitContainer2.Size = new System.Drawing.Size(607, 198);
    this.splitContainer2.SplitterDistance = 294;
    this.splitContainer2.TabIndex = 0;
    // MainForm
    this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    this.ClientSize = new System.Drawing.Size(607, 411);
    this.Controls.Add(this.splitContainer1);
    this.Name = "MainForm";
    this.Text = "MainForm";
    this.Load += new System.EventHandler(this.MainForm_Load);
    this.Resize += new System.EventHandler(this.MainForm_Resize);
    this.splitContainer1.Panel1.ResumeLayout(false);
    ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
    this.splitContainer1.ResumeLayout(false);
    ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
    this.splitContainer2.ResumeLayout(false);
    this.ResumeLayout(false);
    #endregion
    private System.Windows.Forms.SplitContainer splitContainer1;
    private System.Windows.Forms.SplitContainer splitContainer2;
    Result.
    You could download it form http://1drv.ms/1Mwwibp.
    It is quite similar with the one for tiling, you could edit it to fit your requirements.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I use the MS Windows Key in Linux

    Hello!
    I'm using KDE 4.3 and want to use the MS Windows Key to open the KDE start menu.
    I tried to add the Windows Key by pressing as a "KDE Application Launcher" hotkey, but the window key wasn't accepted as a hotkey.
    Is it possible to add this key as a hotkey?
    Thanks for help!
    Best regards,
    Flasher

    I have the following line in my .xinitrc:
    /usr/bin/xmodmap -e "keycode 133 = F30" &
    ...where keycode 133 is my win key. I assign it to F30 (it can be any number besides 1-12, I guess), and then it's just a matter of configuring escape key (in your case, it'll be kde start menu) to F30.

  • Using Struts, On submit button in child window, its opening new window.

    We are developing a project using Struts and BC4J. I am opening a child window(window.showmodaldialog) from main window using struts action. Actually Child window is a search kind of page. User will enter the search criteria and press the sumbit button. I want to display the search result in the same window using datatable when jboevent="submit". But its opening new window and displaying the result in that. However in <html:form>, Even I tried the target="_self".
    I am not sure wether the associated action in the <html:form> is forcing to open a new window.
    Similar kind of thing I am able to achieve in other similar search page, it its not a child window.
    Please let me know what I am missing.
    Thanks,
    Arvind

    So you want the search window to submit back to itself so you see the search field and a result list..?
    In pure Struts terms either using "_self" or the name of the popup window in the <html:form> tag will do the trick
    You need to make sure that the inital window that you created as the popup search window has a name in the first place - can you specify this with showModalDialog()?
    BTW isn't showModalDialog an IE only feature...

  • ADF: Parent Child Window Popup

    Hi All,
    I am having a requirement in which, I am trying to create Parent Child window in ADF. I will give some information in the Parent form and there will be a button which will popup a child window and I will enter some information in a child window and submit, it should come to parent page without displaying the details entered in the child window and once I click the submit button in the Parent window, both the Parent and Child window Detaiils should get saved to the database. I am trying to use ADF or ADF BC.
    Please provide me the steps that need to be followed.
    Thanks.

    This is a common use case. You question on the other hand shows that you not really tried the figure our the answers yourself.
    It's too much you ask us to do your work.
    First you should think which technology (swing or faces) you want to use. Then you should read up some of the documents (i.e. the Fusion Order Demo, or any other sample or cue card) to get some knowledge of the framework.
    I you have a problem then, come back and mention the jdev Version you are using.
    Timo

  • How do I stop the popup "identityservicesd wants to use your confidential information stored in " key " in your keychain"?   Always allow doesn't work.

    I repeatedly see the popup:
    "identityservicesd wants to use your confidential information stored in "<key>" in your keychain"
    If I click "always allow" it still comes up.
    I've followed instructions elsewhere on this forum to open Keychain Access and use First Aid, but to no avail.
    Previously I would receive the popup "messages app wants to use your confidential information..." but I changed the Access Control to allow all applications to access this item, hoping that would do the trick.  But sadly it didn't work.
    Any ideas?
    (Also, ever since upgrading to Mavericks, it wants to go through first-time setup every time I log in.  I'm prompted to enter my iCloud password, etc. etc. but the above problem predates that)

    My immediate reaction is to deny.
    Have you downloaded or installed any application that may relate to the abbreviation AOS? It may not necessarily be the application's name, could be the developer or distributor.
    As it's occuring at log-in, go to System Preferences > Accounts > your account > Login Items and look for a related item. If there's one there, right-click (or ctrl click) on it and select Reveal in Finder. That will show you where the originator of the item is on your system and should give you more of a clue as to what it is.
    I'd remove the item from login items anyway (highlight and click the minus sign at the bottom of the window). There shouldn't be anything trying to use your keychain info to notify anyone.

  • I recently purchase macbook air with OS 10.10.2. I want to use my Seagate external backup plus hard drive for time machine back up. How to partition my 1TB Seagate back up plus hard drive for use with mac and windows pc?

    Hi All,
    I recently purchased 13" Macbook Air with OS 10.10.2. I want to use my 1TB Seagate backup plus external hard drive as time machine and my windows 7 pc. Please suggest a method. Thanks in advance for your reply.

    I strongly recommend having an external drive dedicated solely for TimeMachine. You could partition the drive but if something goes wrong you risk losing the data on both partitions. Should you decide to go ahead with splitting the drive for two different uses you’ll need to partition the drive either using the Mac’s built in Disk Utility program or Windows utility. I believe the built in Windows disk utility program will destroy the current partition and erase the data that’s on it - I use a third party Windows disk utility program for partitioning and it allows for non-destructive partitioning but warns to back up data first just in case. Apple’s Disk Utility can do non-destructive partitions but I don’t recall every trying to do a non-destructive partition on a disk originally formatted for Windows using it. Again - back up that data just in case.
    Finally, your TimeMachine drive should be at least 1.5 times (I prefer 2 times) the size of the data you expect to be backing up a year or two from now.  In other words, if you currently are using 50GB of your computer’s drive but expect to begin purchasing Mac software to replace software on your Windows computer and if you expect to be putting photos, music, and other data on it you might expect that two years from now you’ll have 100GB of stuff on the drive. So a 200GB partition is the smallest size you’d want.  TM’s backup scheme keeps multiple copies of data as it changes so the extra room is important for this scheme.

  • I want to use my icloud email address as a new apple ID.  It was an additional email contact address I originally set up for my child.  But now, I'd like to set her up on Family Sharing, using that email as her ID.  Obviously, when I try to use it wh

    I want to use one of my icloud email addresses as a new apple ID.  It was an additional email contact address I originally set up for my child.  But now, I'd like to set her up on Family Sharing, using that email as her ID.  Obviously, when I try to use it when setting up a new apple ID, it says the email is already being used (Yes, by ME) and I need to select a different one.  Can I somehow delete that email address in order to set up a new apple ID using it?  Or is there another way to "re-use" that address for my child's new ID?

    "Well, then I want to be able to merge that one and the one my purchases are on..."
    This is exactly what I want to do but don't think I can:
    I noticed the following :
    If you attempt to create an Apple ID which is the same as your @icloud email address from the online facility, it does not allow you (can't use an Apple associated email address as your Apple ID). However - if you start a fresh device - such as a new iPhone, iPad (must be mobile it seems), and then create an iCloud account and Apple ID from the prompts when setting up the mobile device, it IS possible to have your Apple ID and @iCloud email address as the same. I know because I just did it!
    Unfortunately for me, the result I got above is not for one of my own ID's but a friends, and I would VERY much like to do the same - my current Apple ID is a completely different email address from my iCloud account. Trying to get them the same in my situation is a major bother - I think that if I wipe a device (such as an iPhone5 that is mine) and try to setup as I did my friend's device, then I will get a conflict because the iCloud email I have ALREADY exists. This is my worry and I will not attempt this until I get the new iPad 4 soon to test this.
    There is an inconsistency here between the two methods of creating Apple ID's and iCloud accounts.
    Overall in my opinion, the Apple ID system as currently available from Apple is not designed very well, and should be addressed.
    Best wishes -

Maybe you are looking for

  • GR/IR Balances in Cut-OVer

    Hi Viewers, I would like to know how to take the GR/IR balances at the cutover in the FICO. It's needed, since I am in very close to Go-Live date 5th Jan. Thanks & Regards Aswin

  • Control of Transfer Of  Requirement  creation Screen   T code OVZG

    Hi All, I am trying to create a new Requirement Class in T code OVZG but in the details screen i am not able to change some fields like,Special Stock,w/o val start,strategy seq,costing.........etc, All in display mode how to make it in change mode...

  • WRT160N v3 range getting worse?

    Hello, I've used this router for about 6 months with no problems, but recently I started experiencing terrible lag playing online with my Xbox, and have since discovered my router's wifi range is not what it used to be.  My router is in a bedroom wit

  • 5800 has an auto-rotate bug

    Hi After only 7 days of ownership, the phone developed a problem with autorotate. All apps were stuck in landscape mode & refused to budge back to portrait. I had downloaded a few apps from Ovi last night, and upgraded the memory card to a Sandisk Cl

  • 1Gb Media Card Wont Be Recognized As Present Anymore

    Ok i have a 1Gb Media Card in my Pearl and it was working fine up to the time i took it out one day and now my phone says its not present anymore...i tried putting an other media card in there and the other card works so i dont unerstand why this one