How to find opener window page number

Hi All,
I have 2 pages. From page 1, I am opening page 2 as a popup. I want to find the opener page number, because the same page 2 is called form different pages.
Please let me know is there any $x_ variable I can use instead of writing some code. I appreciate your help.
Regards

Thanks a lot Jari,
Some reason it is not working,
when I alert I am getting following output
alert(' page no => '+ opener.$x("pFlowStepId"));
output is
page no => [object]
Do you have doc list all these variables?
I have one more question to same popup.
I have window.doSubmit('DO'); after that I am doing to refresh parent page and close the window. But the do submit is taking some time and my parent pages is not refreshing the changes because of that ( it seems commit is taking some time).
I there any way I can force timeout my logic looks like this
window.doSubmit('DO');
var w=self.setTimeout('',25000);
do_parent_refresh();
var w2=self.setTimeout('',25000);
window.close;
The problem is the timer is not working. If I have alert('') everything is working fine. Please help me.
Regards
Edited by: james. on Aug 1, 2011 8:33 AM

Similar Messages

  • How to find out the page number of an xml element

    Hi everybody, sorry for my very bad english (french guy! logical). I hope you see what I'm looking for.
    I'm scripting (javascript) an exporting script of every articles from a multi-pages indesign script.
    In fact I could have one or more article in one file, every one of them is on an separate xml element. for each I have to export an xml file named with, first, the page number where appears the xml element, second, the number of exported article.
    I'm success the second purpose, but not the first.
    Someone have an idea ?

    Try this,
    var myDoc=app.activeDocument;
    var root = myDoc.xmlElements[0];
    var docTag = root.evaluateXPathExpression('//doc');
    for(i=0; i<docTag.length; i++)
        var docPos = docTag[i].insertionPoints.lastItem();
        var docFrame = docPos.parentTextFrames[0];
        var docPage;
        try
             docPage = docFrame.parentPage;
    catch(e)
            docPage = docFrame.parent.name;
        alert(docPage.name);
    Vandy

  • How to find out the page number a cell is on

    Hi folks,
    after importing a XML table into an InDesign document and autofilling it, I need a way to find the page a specific table cell is on.
    I tried to iterate over all cells but it seems that there is no property or so, which tells me which page the current cell is on.
    I really would appreciate any hints how I could tackle this problem...
    TYIA
    Carsten

    @Carsten – try the following:
    myPageNumberStartingWithZero = myCell.texts[0].insertionPoints[0].parentTextFrames[0].parentPage.documentOffset;
    Instead of a number, you could also ask for the "name" property of the parentPage. But this might not be unique…
    Uwe

  • When i clink a given link in google than that webpage open in another window. How i can open that page in the same tabe ?

    when i clink a given link in google search than that webpage open in another window. How i can open that page in the same tabe ?

    Hello gogotutu
    In the [https://support.mozilla.org/en-US/kb/awesome-bar-find-your-bookmarks-history-and-tabs#os=win7&browser=fx17 Location bar], type [http://kb.mozillazine.org/About:config about:config ]and press '''Enter'''.
    The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
    In the Search field, type [http://kb.mozillazine.org/Browser.link.open_newwindow browser.link.open_newwindow]
    double-click and put as a value '''1''' , click OK to save it.
    do the same with '''browser.link.open_newwindow.override.external''' , again put '''1''' as a value(it is -1 by default).
    check also, always in about:config, the [http://kb.mozillazine.org/Browser.link.open_newwindow.restriction browser.link.open_newwindow.restriction] and put as value''' 0''' .
    thank you

  • HT6074 How do I open a page in a separate (new) window?

    How do I open a page in a separate (new) window?

    For a link to a page, control-click the link and choose to do so.
    For an already-opened page, control-click the tab and choose to open it in a new window.
    (120482)

  • How can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    how can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    let's say a registration form, there is only 1 full address provided in my registration pdf, but applicant could have more than 1 address, so i have to make it more flexible to extend the address page no matter how many addresses that applicant provided, i have use adobe acrobat pro to edit the form properties. but dont know how to extend/duplicate a page in felxible times.
    Please advise~ tks so much!!! George

  • How can I remove the page number from the first page of the document that is the cover page?

    How can I remove the page number from the first page of the document that is the cover page?

    If you open the Pages panel, (Window>Pages) you will see thumbnails of your master pages and your document pages. In new documents, there is usually a master called A-Master and one called None. If you drag the thumbnail of the None master onto the thumbnail of a document page, it will apply that master to that page. Presumably, you have made your page numbers on A-Master, so this will usually do the trick. If you have elements on A-Master that you need on the first page, but just not the page number, you can duplicate A-Master (which, by default will give you B-Master, but you can change the names if you like) and remove the page number on the duplicate and apply that to the document page.
    It might also be worth noting that you can apply master pages in the fly-out of the Pages panel. Go to the fly-out triangle and go down to Apply Master to Pages…, then select a master to apply and the range of pages (1-8 will give you all 8, 1, 3, 5, 7 will be the odds, 1-3, 4, 6-8 if you want continuous ranges and individual pages).

  • HOW DO I OPEN WINDOWS XP ON MY NEW IMAC TO USE A WINDOWS BASED SOFTWARE?

    HOW DO I OPEN WINDOWS XP ON MY NEW IMAC TO USE A WINDOWS BASED SOFTWARE?

    Assuming you already have it installed: Go to system preferences and chose 'start up disc' in the system menu. Then select the Windoze partition and restart it. - To get back to OSX, find the Boot Camp icon in the tool bar bottom right.

  • How to find my window 7 home basic key

    how to find my window 7 home basic key

    Hello shakir mirza,
    What is  your current situation?
    If it is the laptop, please check  if we can find the product key from the back side as DonPick mentioned.
    If the computer is pre-installed windows 7, we could contact the manufacturer for help.
    If it is retail, it is recommended to contact the Microsoft local support.
    Additionally, if you want a phone support number, please take a look at the following article.
    Support phone number
    http://support2.microsoft.com/gp/customer-service-phone-numbers/en-gb
    It is not recommended to use the third-party software to get the Windows 7 home basic key. These software may have harmful function on the computer.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • How to find hp care pack number hw/sw product number

    how to find hp care pack number and hw/sw product number pls advice
    This question was solved.
    View Solution.

    Contact HP directly.
    This is the HP Consumer Global support forum and not a sales unit of HP.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • How can i open more page in safari

    i just want to ask how can i open more page on safari in macbook,thank you so much

    Choose New Window or New Tab from the File menu.
    (59597)

  • How to find open sales orders.

    Hi Gurus,
    Can you please help me out How to find open Sales orders in SAP.
    Is there any transaction code available or we can get it through via tables.
    Your afforts are highly appriciated .
    SRavani.

    Dear SRAVANI,
    You can find open sales orders from the Transaction code "VA05N", You just run this report, Below the screen you can find open sales orders radio button , you select this and give execution parameters and execute(F8).
    You will get the all open orders.
    Hope it fixes your issue.
    Please check it and revert.
    Thanks&Regards
    Raghu.k

  • How To Find Opening Stock And Value For a Material

    Hi Experts,
    How To Find Opening Stock And Value For a Material  in Given Dates
    Moderator Message: Search.
    Edited by: kishan P on Sep 15, 2010 4:05 PM

    Thanks For Answering.....
    But I Need Any Function Module To Get Opening Stock And Value For Given Material With in Dates.

  • How to find out spool requist number respective Sales Order

    hi,
    I need spool number respective to Sales Order, after print out script.While taking print out of sales order by selecting respective output type  i am able to get spool request number in table TSP01 .Upto eveything fine .But how to find this spool  request number is belongs to that Sales order.
    Regards,
    Eswar

    SELECT * FROM tsp01 WHERE
                 rq0name = sy-repid  AND
                 rq1name = d_suffix1 AND
                 rq2name = d_suffix2 AND
                 rqowner = sy-uname.
              WRITE:/ 'Spool request issued',
                    /  'Spool Number:', tsp01-rqident,
                    /  'Spool Name  :', tsp01-rq0name,
                    /  'Suffix 1    :' , tsp01-rq1name,
                    /  'Suffix 2    :', tsp01-rq2name,
                    /  'Owner       :', tsp01-rqowner,
                    /  'Device      :',tsp01-rqdest,
                    /  'Copies      :', tsp01-rqcopies,
                    /  'Processed   :', tsp01-rqpjreq.
              SKIP.
            ENDSELE

  • How to find open item in bsik table

    anyone can tell me how to find open items for vendor in bsik table or it will store only open item.
    i debug the tcode fbl1n to see . but not able to find
    Kumar

    Hi
    There is no specific field name for open item in the table BSIK.Yes BSIK include a structure named ABSIK_PSO and which is a "IS-PS: Data appendix of open items vendors".
    Yes there is a field name
    BUZEI - Line Item
    EBELP - Item
    You check with your requirement again and try to use these fields,if you still facing some probs than write back to me,i will try to give the appropriate solutions.
    Thanks
    Mrutyunjaya Tripathy

Maybe you are looking for

  • How to Empty Trash on External Hard Drive

    I'm using an external hard drive for Time Machine. I used it for my old laptop's backup and have transferred all needed files, app, and such to my new computer.  I want to trash everything from the old backups so I have room for the new ones.  I move

  • My files are not opening into the right program now

    After updating to Adobe CC 2014 on all my applications, Illustrator, InDesign and Photoshop, my computer is not recongizing the proper program to open an ai, psd or jpg file into. I keep try to set my defaults using the Windows Explorer settings, but

  • OIM 11gr2 UI customisation

    Hi, How to hide self service admin links for end users.I tried giving EL #{oimcontext.currentUser.roles['SYSTEM ADMINISTRATORS'] != null} for the visible property but no luck am getting ADF error.Am i missing something here?Is it possible to hide the

  • Info record for services.

    Hi, Is there any option to maintain the cost, discount details for a service master so that while processing the purchase order, the conditions should flow from the master ( similar to our PIR ) Regards, RDB

  • Unable to upgrade certain songs to iTunes Plus

    When I go to the iTunes Plus section it shows me a few songs and albums which I can upgrade but when I try to upgrade/buy I get a message that reads: "The item you tried to buy is no longer available" So what do I do?