Update Region Iframe source via javascript

I have looked at Carls example on showing an iframe within a table. I have a tree of records on left side of page and html region on right.
I have the iframe html in the region source.
How can I update this in javascript.
I tried
document.getElementById("test").innerHTML = gReturn
where gReturn has the iframe source.
it returns javascript error - I am thinking that I can't use innerhtml for my region (named test).
Any help or direction would be greatly appreciated.
Peter

Any takers on this?
How to update a region with Iframe from a tree?
Thanks
Peter

Similar Messages

  • Firefox 3.6 crashes or hangs when setting an iframe src to a pdf via javascript. 3.5 works fine

    Firefox hangs or crashes when setting iframe src to a pdf via javascript. Works fine in all previous versions of Firefox. This is using the most recent version of Adobe Reader 9.
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3.6

    More info:
    Seems to be the same issue as this
    [http://support.mozilla.com/en-US/forum/1/585926#threadId622326]
    and this
    [http://support.mozilla.com/en-US/forum/1/585926?forumId=1&comments_threshold=0&comments_parentId=585926&comments_offset=20&comments_per_page=20&thread_style=commentStyle_plain#threadId659555]

  • Firefox 4.0 support for printing embedded PDF files in iFrames via JavaScript

    I recently upgraded to Firefox 4.0 and can no longer print embedded PDF documents contained in an iFrame.
    My company's web application has several pages which load PDF files from a Servlet into an iFrame. The pages in question all have "Print" buttons which when clicked executes a JavaScript function to obtain reference to the iframe containing the PDF, place it into focus() (e.g., frames['pdfdoc'].focus();), and invoke print() (e.g., frames['pdfdoc'].print();). There are no errors, or exceptions caught when the JavaScript function is invoked, but the "Print" button is no longer operational.
    Does Firefox 4.0 no longer support iFrames? The issue goes away if I revert back to ver 3.6.16

    I have same issue for printing embedded PDF files in iFrames via JavaScript in Firefox 5.0.
    In previous versions it was working fine. But not in Firefox 4.0/5.0.
    Is there any solution for this problem?

  • Problem. Update region source

    I want to update region source runtime.
    declare
    src clob;
    begin
    src := 'new content';
    wwv_flow_api.set_plug_source(
    p_id => 1676526383627240, p_plug_source => src);
    end;
    but I get following error: ORA-22922: nonexistent LOB value
    if variable src is null then this code works without errors.

    Hi Tyoma,
    Can you give us some more background why you want to do this?
    Thanks,
    Dimitri
    -- http://dgielis.blogspot.com
    -- http://apex-evangelists.com

  • Hide show button and textual area via Javascript or jQuery

    Hi folks am Apex newbie using 4.0.1 on Vista laptop running OracleXE (for dev purposes)
    A quick desc of what items are on the page of my Helpdesk appkication and what I want to achieve ..
    I have a Progress region defined on the page - with textual areas and some region buttons.
    Details are have 2 textual areas in my region - 1st textual area shows current progress (this is read only).
    Second textual region is where IT person will type latest progress on Helpdesk prob (ticket).
    There is a region button Save Progress Text which when pressed will append text from textual area 2 into textual area 1 and
    also appends text e.g date / time / userid etc of progress text added.
    This all works fine.
    Have added a new region button - call it Enter Progress Text - which I would like when pressed will make textual area 2 and the Save Progress Text buttons visible.
    I can hide and show the textual area 2 via $X_show / hide but cannot for life of me hide the Save Progress Text button.
    I also tried to make a subregion holding textual area 2 and the Svae Progress Text button but again via Javascript / jQuery could not hide the subregion.
    Can someone please tell me the syntax of how to hide via Javascript / jquery as can't find anything much at all in the Apex online documentation.
    Many, many thanks as always.
    P.S Don't want to use dynamic actions or hide / show region as want there to be buttons on screen to make things explicit for user hence my desire to use Javascript.
    Wiggywig

    Hi,
    If its a page item then you can use below script to hide it.
    <script type="text/javascript">
        $x_HideItemRow('Put your item name');
    </script>*Put this code in page footer..                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Printing a slide in Captivate 6 HTML5 output via javascript

    I have been googling for the past 3 work days trying to figure this out.
    I had some limited success with printing a div via javascript and pointing it at the slide div (I know it happens to be Slide16952).
    Which is fine, except it doesn't keep the CSS elements of the slide which is what makes it a pretty completion certificate.  Print widgets won't work because I have to publish to HTML5 and not flash (no, no choice in this).  I am struggling to get any javascript working.
    I have this right now which I just picked up as a generic to try and get me going
    function PrintElem(elem)
            Popup($('<div/>').append($(elem).clone()).html());
        function Popup(data)
            var mywindow;      
            mywindow = window.open('', 'mydiv','height=1280,width=720,scrollbars=no','');           
            mywindow.document.write('<html><head><title>my div</title>');
            mywindow.document.write('<style type="text/css" media="print,screen">.hideMe{display:none;}.NoPrintClass{display:none;}</style>');               
            mywindow.document.write('</head><body>');
            mywindow.document.write('drop down selected value in parent: '+mywindow.opener.document.getElementById('testSelect').options[mywindow.opener.document. getElementById('testSelect').selectedIndex].text+'<br/>');
            mywindow.document.write('contentStarts<br/>');
            mywindow.document.write('  using jquery:  '+data);
            mywindow.document.write(' using javascript: '+mywindow.opener.document.getElementById('mydiv').innerHTML);
            mywindow.document.write('<br/>contentEnds');
            mywindow.document.write('<br/>');                                    
            mywindow.document.write('</body></html>');       
            mywindow.document.focus();
            mywindow.document.close();     
            mywindow.print();            
            return true;
    I then point my print button at PrintElem('Slide16952') via a javascript window.
    obviously I haven't written this to fit my particular project yet, but the part I am having the most issue with is trying to get the captivate CSS stuff to come through.  mydiv should = Slide16952 I think.  The CSS form that captivate creates has several block visible elements, but I believe the one I am trying to make sure I get is .cp-shape in CPLibrary.css, but there could be others I want too and I am not sure which.
    has anyone had any luck getting a single slide printed in HTML?  window.print() only gets me like 95% of the slide and a loft of white space around it.

    function printPartofPage() {
        var DocumentContainer = document.getElementById('Slide16952');
        var WindowObject = window.open('', 'PrintWindow', 'width=1280,height=720,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=no') ;
        WindowObject.document.writeln('<!DOCTYPE html>');
        WindowObject.document.writeln('<html><head><title></title>');
        WindowObject.document.writeln('<link rel="stylesheet" type="text/css" href="assets/css/CPLibrary.css">');
        WindowObject.document.writeln('</head><body>');
        WindowObject.document.writeln('<body style="background-image:url(dr/CertBorder.png);">');
        WindowObject.document.writeln('<h1 style="text-align:center; top: 30px;">Certificate of Completion</h1>');
        WindowObject.document.writeln(DocumentContainer.innerHTML);
        WindowObject.document.writeln('<img src="dr/17170_271_44.png" style="position:absolute; left: 896px; top: 464px; width: 294px; height: 73px;"></img>');
        WindowObjext.document.writeln('<p style="text-decoration:overline; position:absolute; left: 908px; top: 494px;">Authorized Signature</p>');
        WindowObject.document.writeln('</body></html>');
        WindowObject.document.close();
        WindowObject.focus();
        //WindowObject.print();
        //WindowObject.close();
    latest code update.  Almost everything is working now.  I am going to get rid of the h1 line because I am going to redesign the certificate image and incorporate the Certificate of Completion part in the image file CertBorder.  I may also do that for the image (which is a signature) and the <p></p> portion, so that I am pulling all of that into the image template and aligning it where it needs to be and just grabbing the image.
    I have the WindowObject.print and .close commented out so I can get it all working.  Once I know it works I will uncomment those for final testing.
    This isn't a great solution, but it's the only one I can seem to make work at this point and it will be pretty transparent to the user once it's done.  So far it doesn't set off the pop-up blocker for me, but I am doing this all locally on my hard drive so I suspect that may become an issue once published.
    also, all credit where credit is due (here is where I got my baseline code ideas http://jsfiddle.net/Zmqzb/)

  • [CS3] Calling scriptable PanelTreeView via JavaScript?

    Hello!
    As far as I can see is the PanelTreeView sample already a scriptable plugin, i.e. it can be called from JavaScript.
    Does anybody know how to call the plugin via JavaScript?
    I get an error at following line:
    var PTVRunner = app.PanelTreeView;
    Thanks,
    Alois Blaimer

    You should be able to look at the source code to see what script names it publishes and where it publishes them to - which bosses etc. ExtendScript's data view lets you look at what methods and parameters are available on current items - you can probably look at app to see what names are published there.
    Ian

  • I have recently updated the new apps via creative cloud now photoshop and bridge no longer work, they open then say they have encountered a problem and close, I also tried opening the old version of photo shop but getting the same result

    I have recently updated the new apps via creative cloud now photoshop and bridge no longer work, they open then say they have encountered a problem and close, I also tried opening the old version of photo shop but getting the same result

    What OS version? What's the exact error? Exactly when does the error occur? What previous versions? What is on the screen when the error displays? Does Photoshop get fully open?
    Try opening Photoshop holding down Shift key immediately to turn off plug-ins. Lots of good suggestions here: Photoshop: Basic Troubleshooting steps to fix most issues

  • Error: missing ] after element list Source File: javascript:%20[object%20XULElement] Line: 1, Column: 9 Source Code: [object XULElement]

    Can you help me out in letting me know what this means and how I can fix this? I found it in my tools menu under error console. It was listed as a warning, but then there was a option to highlight and evaluate the original warning message that was listed as
    Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped.
    Source File: http://www.msn.com/
    When I cut and pasted message in the code evaluate box and pressed enter the warring message became an error then stated:
    Error: missing ; before statement
    Source File: javascript:%20Warning:%20Expected%20color%20but%20found%20'null'.%20%20Error%20in%20parsing%20value%20for%20'background-color'.%20%20Declaration%20dropped.%20Source%20File:%20http://www.msn.com/%20Line:%200
    Line: 1, Column: 10
    Source Code:
    Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped. Source File: http://www.msn.com/ Line: 0
    I am writing to ask for guidance on what to do and how to fix this.
    I current have Firefox as my default browser. I have IE 9 and Windows 7 home ed on my HP lap top that has AOL preloaded into it as the mail provider. I am a beginner user and when I got the computer my cousin set up Mozilla and Firefox as a search browser and I like it.
    I also have norton security

    I think, the problem is with the order (in configuration file) of path to search headers:
         /opt/oracle/product/10g/10.2.0/precomp/admin/pcscfg.cfg
              sys_include=(/usr/include,/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
              include
              include=(/usr/include)
              include=(/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
    In the filesys:
         ./usr/include/sys:
         -r--r--r-- 1 bin bin 17786 Aug 13 2007 types.h
         ./opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys:
         -rw-r--r-- 1 root system 18288 Mar 22 2008 types.h
         mode_t came from:
         #include <sys/types.h>
    sys/types.h:
         * POSIX Extensions
         typedef unsigned int uint_t;
         typedef unsigned long ulong_t;
         * POSIX and XOPEN Declarations
         #if defined(_LP64) || defined(_I32LPx)
         typedef uint_t mode_t; /* file attribute type */
         #else
         typedef ulong_t mode_t; /* (historical version) */
         #endif

  • I can't seem to update icloud's calendar via my iPhone's calendar. Also, iCal on Mac follows iCloud so when I sync iPhone to Mac it becomes a even more confusing situation...

    Pardon my ignorance. I have scoured the forums and no one seem to touch on the exact subject I am talking about.
    I can't seem to update iCloud's calendar via my iPhone's calendar with all connectivity turned on (sync,push,pull,slap whatsoever).
    Also, iCal on Mac follows iCloud (sluggishly and not due to connection problem, so i'd nice to have a status bar telling me whether or not it's active and doing some updating) so when I sync iPhone to Mac it becomes a even more confusing situation...
    Simplified version:
    -Events created on the iphone doesnt get on icloud.
    -When iphone is synced with ical on mac and changes are made on Mac, changes are not immediately reflected on iphone unless clicked "sync"
    -I just want to view a live ical at all times without going to safari and opening up the web iCal. I want to view a 100% live iCal on the native iCal via iPhone. Like google docs! Is that too much to ask!?
    Iphone seemed to have a "push" or "sync in this many minutes" option for iCal, but that seemed like it's only receiving changes, and not send out changes made via phone. Very confusing, very annoying!

    Download iTunes using the tab at the top of this page. Then run the update with iTunes closed.

  • Since installing the last iPhoto update sharing a photo via e-mail opens a google e-mail format instead of an Apple Mail format.  How can I get the Apple Mail format to come up when I click on share?

    Since installing the last iPhoto update sharing a photo via e-mail opens a google e-mail format instead of an Apple Mail format.  How can I get the Apple Mail format to come up when I click on share?

    iPhoto preferences - set the email client to Mail
    LN

  • HT4623 I have an ipad 2 on ops 4.3 and have just updated to 7.1 via itunes. I backed up first and have synced repeatedly but keep getting a message on my ipdad screen that the ipad is not set up - I chose the set up option restore from itunes back up

    I have an ipad 2 on ops 4.3 and have just updated to 7.1 via itunes. I backed up first and have synced repeatedly but keep getting a message on my ipdad screen that the ipad is not set up - I chose the set up option restore from itunes back up

    To free up hard drive space the best bet is to move data files that you don't need access to all the time. Likely candidates are music, video, and photos. Things like word processing and spreadsheet files can also be moved but they tend not to be very large and so don't free up much space. The problem with moving the above mentioned files is that iTunes and iPhoto need to know where the files are stored.
    Here's an article explaining how to move the iTunes folder. You can move the iPhoto library using the Finder but there is a slight complication. Start iPhoto, open the Preferences and click on the Advanced tab. The first option is "Copy items to the iPhoto Library". If this option is checked, copy the iPhoto library to your external folder (drag it from the Pictures folder to your external drive) and then delete it from your Picture folder. If this option is not checked, it is a bit more complicated and we'll need to talk a bit.

  • Error when updating Playbook OS version via Blackberry Desktop Manager

    Greeting,
    I have a batch of old playbooks which having the stack charging issue, but I found that I can update the OS to the newest version (2.1.0.1917) via Blackberry Desktop Manager, then the charging algorithm will be changed to the updated one and go over this dead battery issue. I was able to do so successfully in the past week smoothly on several devices.
    But since this Monday, the Desktop Manager is saying "An updated Blackberry Desktop Software component must be installed before you can continue" when downloading the Desktop software and will appear "There was an error updating your software, an error has occurred while downloading the Blackberry Desktop Software.Please try again." and preventing the process. Seems there are some change on the server side starting this week which has caused this problem, but there's no error code to locate the exact issue.
    I tried on 2 different computers as well as completed uninstalling and re-installing the Desktop manager, also tried to disable the automatic update as been advised in some threads. So no clue how to deal with it for now. It will be highly appreciate if some one can share some idea.
    I've attached the step by step screenshots for reference, where you can find here:
    http://forums.crackberry.com/blackberry-playbook-f222/error-when-updating-playbook-os-version-via-bl...
    Thanks,

    BLock wrote:
    Sorry I can not help you with your problem but perhaps you can help me.  
    Can you advise where I can find info on "disable the automatic update"?
    just ignore the update if you dont want it on the playbook
    for reloading the OS
    First I would like you to do a Back Up of your PlayBook using your computer and BlackBerry Desktop Software.
    This can be downloaded for free from http://us.blackberry.com/apps-software/desktop/
    After the Back Up is complete I need you to unplug your PlayBook and then push and hold down the Power Button until the unit Force Powers Off.
    Now, while Desktop Software is still open on your computer and the PlayBook Powered Off, Connect the PlayBook to your computer.
    You should see and error screen from Desktop Software pop up that has the options to Retry, Update, or Cancel.
    QUICKLY choose the Update option.
    This will erase all the information off of your PlayBook and Re-Write the Software back onto it. Once it's complete your PlayBook will need to go back through the setup wizard, and you can then perform a restore using Desktop Software to return your information. The only thing that won't come back after the restore are the apps that you downloaded from App World but they can be easily Re-Installed using the My World feature in App World.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Hi, my iphone 5 encountered an unknown error while updating to iOS 7 via itunes and is now stuck in recovery mode and prompts me to restore the phone when I connect it to itunes but then I would lose all my data. Any suggestions please?

    Hi, my iphone 5 encountered an unknown error while updating to iOS 7 via itunes and is now stuck in recovery mode and prompts me to restore the phone when I connect it to itunes but then I would lose all my data. I DO NOT have any back ups on itunes. Is there anyway to get out of recovery mode without restoring or recover data after a restore?
    Or any other suggestions please? Thanks

    As pdroth said, you should have gotten a backup made when you started the update of iOS. If you cannot find a backup, and the phone is in recovery mode, there are no futher suggestions to make. To get the phone working again you have to restore. You cannot force a backup at this time since it is already in recovery mode. It will not allow anything else but a restore at this point.

  • HT2305 When I am trying to update my iPad 2 via syncing it with my PC, I get the following error message: "iPad software update server could not be contacted." Any ideas?

    When I am trying to update my iPad 2 via syncing it with my PC, I get the following error message: "iPad software update server could not be contacted." Any ideas?

    Try rebooting your router and or cable modem. Unplug it/them for about 30 seconds and then plug back in. See if it works then. Reboot your iPad as well.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

Maybe you are looking for

  • IPhone: Additional Examples available....

    I just discovered that the latest iPhone docs come with some additional example apps not referenced in the Dev Center. For example there is "iPhone Recipes", a nice custom list app, and "SimpleAnimation". Go to the doc browser and look for "Recipes,"

  • RESTful webservices invocation from OSB.

    Can some one please explain the best way to develop the OSB service to invoke the Restful services. 1. Only proxy service is enough to handle the request, no need of business service? 2. when moving the code from one env to other, we use a business s

  • New Computer and backing up apps

    I hope someone can help me with this! I have a new computer but have not yet synced my iPod Touch with it. I have moved all my music to the new computer/iTunes. Of course in order to sync to the new 'library' it will erase my iPod. I am concerned abo

  • My contacts cannot see me, I can see them.

    My Contacts cannot see me. I can see them clearly, also can see myself. They get a message saying connection slow will resume video when connection improves. These contacts are in various locations so seems highly unlikely they are all affected. This

  • Object List (help please)

    Hey, I was wondering how I could add objects to an array list as they are created. I have a class that consists of a method that creates "Room" objects and as each one is created I need to add it to an array list: public static void createRooms()