How can I show several regions as a modal popup?

Hi all!

I have a popup that displays a report area. Now I want that it show more of a region, for example a regional report and another report below.

Here is the code I have right now (and that can popup a region):
$.fx.speeds._default = 1000;

$( function(){
  $('#ModalForm').dialog(
   {
     modal: true,
     autoOpen: false,
     width: 650,
     height: 450,
     buttons:{ Calculate: function(){calculateTotal();},
                     Close: function(){closeForm();}         
   }
  });
});

function openForm(pFoodTemplateId, pMealTypeId)
{
var getone = new htmldb_Get('shiny',&APP_ID.,"APPLICATION_PROCESS=DUMMY", &APP_PAGE_ID.); // initialize get 
getone.add('P24_TEMPLATEID', pFoodTemplateId);
getone.add('P24_MEALID', pMealTypeId);
gReturn = getone.get();
getone = null;

$('#ModalForm').dialog('open');
}

function closeForm()
{$('#ModalForm').dialog('close');}

$(document).ready(function() 
    {$('a.temppop').click(function() {openForm();});
});
The class of the button (or in my case, the link in another region that is not displayed as a popup) is temppop.

QUESTION:_
How can I change my existing code, so that it can now display another region?

The ID of the region, it now displays is ModalPopup. I would add another region, with a different ID off course. Choose any ID, as long as you can explain to me how.

Hello

I think that better create a new area of HTML which is popup 'holder '.
And the value of this region as a region of Parent for the other two regions.

Kind regards
Jari

-----
My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Tags: Database

Similar Questions

  • How can I change several download Sierra systems

    How can I change several download Sierra systems?  I have a Mac mini end of 2012 running El Capitan, over a mid-2010 Mac mini and MacBook Pro mid-2010 the two race Yosemite with limit of bandwidth on my internet connection and want to update all three systems in one download.  Is the process that apply with Yosemite and El Capitan (ie. Copy the Setup program to another location before you run it on the download system) still the way forward?  Thank you.

    You can do this or DiskMaker X allows to create a key to install it.

    (145170)

  • How can I delete several images in the Finder at the same time

    How can I delete several images in the Finder all at once rather than one by one

    Click on an image and the successive images to press the SHIFT, or command key by clicking on the image to add it to the selection. Then Ctrl-click (tap two fingers) on any icon and choose to put in the trash. If the icons are in an easily selectable column or online, you can click on the window that contain, and then drag around them for a multiple selection.

  • How can I show the appellants all blocked on my iphone 5s

    How can I show the appellants all blocked on my ios iphone 5s 9 +?

    Settings > phone > blocked

  • How can I configure DVD region free?

    I have boutgh my knees to the United Kingdom. Back in my home country Brazil, I had a problem. The DVD region. I changed all the times that I have been authorized to do. And my computer is now set for region 2. Most of the dvd here are for region 4. How can I set it region free... You can help!

    Hello

    As far as I know it of not possible to change the parameters after you changed dvd region-free settings 4 times.

    I read that the using DVD region free software can remove settings, but I put t have tested and it is possible that this program can damage the drive. In this case you can do but at your own risk! Also I m not 100% sure if this procedure works.

    Check this box
    http://www.Digital-Digest.com/DVD/downloads/firmware.html

    Good bye

  • How can I delete several clips at once from the timeline

    How can I delete several clips at once from the timeline?

    Thanks, Dan

    Shift-click or command-click to select if they are contiguous. Then press the delete key.

    Or select them and use the keyboard shortcut command + X.

    Or select them in the Index of the Timeline and use the key DELETE or command + X.

    Russ

  • How can I create several rectangles with a draw rect.vi

    How can I create several rectangles with a fire rect.vi? Thank you

    Like this...

    -DP

  • How can I register several OCX files at the same time

    How can I register several OCX files at the same time. OCX depending on the application files are stored in a network location, IE. R:\HR\whatever\whatever\*. OCX instead of manually record each ocx file, I would be with a simple batch file or an automated script. Anyone have any good ideas?

    Hi James,

    The Microsoft Answers community focuses on the context of use. Please join the professional community of COMPUTING in following the link MSDN forum

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • How can I delete several photos in my photo folder once

    How can I delete several photos at once in my photo file?

    Hello

    • Click on the first image you want to delete
    • Select other images to be deleted by pressing Ctrl and clicking on them
    • Click with the right button on a selected image to remove and then click on remove

    Tricky

  • How can I change my region 1 to region 2 code so that I can read the DVD in Windows Media Center?

    Original title: How can I change region 1 to region 2.

    How can I change my region 1 to region 2 code so I can play the dvd on windows media Center, I live in the United Kingdom, so I only need region 2. My DVD drive is set to region 1 and I can't change with the locations using windows... need help.

    Hi DerekBoyne,

    You can follow this link and check if it helps.

    Change the country or region setting

    Hope the helps of information.

    Please post back and we do know.

  • How can I store several sentences and insert without typing?

    How can I store several sentences and insert without typing?

    http://www.colorpilot.com/TypePilot.html

  • How can I show what bssid a user is associated with the CLI on 1242 Cisco ap?

    How can I show what bssid a user is associated with the CLI on 1242 Cisco ap?

    SH associated dot11

  • How can I show the Photoshop Print - dialog JavaScript Pentecost?

    Hello

    How can I show the Photoshop Print - dialog JavaScript Pentecost?

    You use the scriptListener plugin to save the action handler code? If so, replace the part of the last line of "DialogModes.NO" "DialogModes.ALL." Just be sure to no with this line:

    app.displayDialogs = DialogModes.NO;

  • How can I put several still images on a clip?

    Hello!   I use first items 14 and usually much longer work with pictures like clips instead of clips of video file.

    How can I put several photos on the clip?  like two pictures arranged side-by-side in the same clip.

    Thank you!

    margin

    Hi - thanks - it was just what I needed.

  • How can I combine several PDF files to make a multi page booklet?

    How can I combine several PDF files to make a multi page booklet?

    thanks !

    With the full version of Adobe Acrobat. Free Adobe Acrobat Reader cannot do this.

Maybe you are looking for

  • P20-801 product recovery CD

    Does anyone know how / where to get a product to get CDs for the P20 801? Thanks for any help.

  • detect the movement of the cursor

    I have a chart 2D cluster, with two tables 1 d above and to the left (they have to input/output "alias" to set the line / 2D table columns). To fit everything on the user interface, I limited the number of values, with tables 1 d with cursors. I mana

  • Windows XP installation with blue screen

    Hello I'm trying to reinstall windows on my laptop that I think he had a virus.  I have managed to reformat my hard drive and that he was trying to run FDISK, but this does not seem to recognize my hard drive (I think). When I try to load Windows fro

  • media player .wmv files

    When I try and play with media player .wmv files, they play in slow motion and no sound. .mpeg and .avi files play fine. I have updated all, but may not know what the problem is.Help!

  • Disk SATA of OptiPlex 9020 m and m2

    All data sheets I can find for the Optiplex USFF 9020 indicate that it can withstand a SATA m2. Which non of them tell me what edge connector and the length should be, and whether or not an impasse is required for the end.  I contacted the technical