Save a frame using saveAs dialog box.

Hi,
I am implementing an application wherein I am displaying certain error messages in a frame. On the lower frame I have have the buttons to print the contents of the upper frame. But I want to include the option to save the contents of the Upper Frame as a text file in the system directory using a SaveAs Dialog box. Can anyone please suggest how this can be done?
I was using *{document.execCommand("saveAs")}* command to save the contents when the whole thing was done in a single html template but as I had to divide it in two different frames the above command is forming a .txt file but without any of the contents present. Any modification to be done to the above command such that the contents of the Upper frame get stored as .txt file would be very helpful too.??
Thanks in advance.

Is this a Java question? Note that JavaScript is not Java.
db

Similar Messages

  • Safari crashes when using the dialog box to import/save files, in facebook under windows 7

    I've encountered the following errors in some PCs, running Safari 5.1.7 in MS-Windows 7 Pro:
    Safari crashes when using the dialog box to import/save files. One doesn't have to actually upload or download any file, the mere invocation of the relevant dialog box brings down all open Safari windows after a couple of seconds.
    Errors displayed in the Event Log are:
    Όνομα ελαττωματικής εφαρμογής Safari.exe, έκδοση 5.34.57.2, χρονική σήμανση 0x4f982b5e
    Όνομα ελαττωματικής λειτουργικής μονάδας CoreGraphics.dll, έκδοση 1.87.0.0, χρονική σήμανση 0x4f9739a0
    Κωδικός εξαίρεσης: 0x40000015
    Μετατόπιση σφάλματος: 0x0013a762
    Αναγνωριστικό ελαττωματικής διεργασίας: 0x17f4
    Χρόνος έναρξης ελαττωματικής εφαρμογής: 0x01cded6b09576023
    Διαδρομή ελαττωματικής εφαρμογής: C:\Program Files\Safari\Safari.exe
    Διαδρομή ελλατωματικής λειτουργικής μονάδας:C:\Program Files\Safari\Apple Application Support\CoreGraphics.dll
    Αναγνωριστικό αναφοράς:ebe64ac9-595e-11e2-a977-0016356671d1
    System
    Provider
    [ Name]
    Application Error
    EventID
    1000
    [ Qualifiers]
    0
    Level
    2
    Task
    100
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2013-01-08T06:45:00.000000000Z
    EventRecordID
    95609
    Channel
    Application
    Computer
    computername
    Security
    EventData
    Safari.exe
    5.34.57.2
    4f982b5e
    CoreGraphics.dll
    1.87.0.0
    4f9739a0
    40000015
    0013a762
    17f4
    01cded6b09576023
    C:\Program Files\Safari\Safari.exe
    C:\Program Files\Safari\Apple Application Support\CoreGraphics.dll
    ebe64ac9-595e-11e2-a977-0016356671d1
    and
    Ελαττωματικός κάδος (bucket) 2970527469, τύπος 1
    Όνομα συμβάντος: APPCRASH
    Απόκριση: Δεν υπάρχει
    Αναγνωριστικό Cab: 0
    Υπογραφή προβλήματος:
    P1: Safari.exe
    P2: 5.34.57.2
    P3: 4f982b5e
    P4: CoreGraphics.dll
    P5: 1.87.0.0
    P6: 4f9739a0
    P7: 40000015
    P8: 0013a762
    P9:
    P10:
    Συνημμένα αρχεία:
    C:\Users\username\AppData\Local\Temp\WER51A.tmp.WERInternalMetadata.xml
    Αυτά τα αρχεία μπορεί να είναι διαθέσιμα εδώ:
    C:\Users\username\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Saf ari.exe_e273f639ef3d86d52c9d8e15dd2b42dce3e78061_1f86213d
    Σύμβολο ανάλυσης:
    Επανέλεγχος για λύση: 0
    Αναγνωριστικό αναφοράς: ebe64ac9-595e-11e2-a977-0016356671d1
    Κατάσταση αναφοράς: 0
    +
    System
    Provider
    [ Name]
    Windows Error Reporting
    EventID
    1001
    [ Qualifiers]
    0
    Level
    4
    Task
    0
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2013-01-08T06:45:10.000000000Z
    EventRecordID
    95610
    Channel
    Application
    Computer
    computername
    Security
    EventData
    2970527469
    1
    APPCRASH
    Δεν υπάρχει
    0
    Safari.exe
    5.34.57.2
    4f982b5e
    CoreGraphics.dll
    1.87.0.0
    4f9739a0
    40000015
    0013a762
    C:\Users\username\AppData\Local\Temp\WER51A.tmp.WERInternalMetadata.xml
    C:\Users\username\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Saf ari.exe_e273f639ef3d86d52c9d8e15dd2b42dce3e78061_1f86213d
    0
    ebe64ac9-595e-11e2-a977-0016356671d1
    0
    I have tried in-installing safari but it seems not to help. I have tried installing it to a third, newly installed pc and come to the same result.
    All PCs are fully up-to-date as it regards Microsoft and Apple patches. Any ideas as to why this might happen?

    Still having the same problem. Ever the optimist, I submit the following info.
    Error window screenshot can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_01.JPG
    Enent log entry can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_02.txt
    Version info can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_03.JPG

  • How to Use Open Dialog Box, & Save Dialog Box

    Hi Frens,
    Can You tell me how can i use open dialog box, and save
    dialog box using Flex. Because there is no such components are
    given here.
    Also How can i Do when I click on some button, or some event
    Please tell me abt this, Thks in advance frens
    Ashish Mishra

    for input requested try this
    String ar = JOptionPane.showInputDialog("Please, enter artist name");for any sort of message box try this
    int answer = JOptionPane.showConfirmDialog(null, "Enter another record?",
                                "???",JOptionPane.YES_NO_OPTION);This might help you buddy.

  • Open/save dialog box using javascript.

    Hi,
    working on apex4.1
    How i can display open / save dialog box when click on button or link using javascript.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 27, 2013 10:20 PM

    Hi,
    I am using model dialog box.
    on page header i have copy The code as given in this http://jqueryui.com/dialog/#modal-message link
    //  page header code
    <!doctype html> <html lang="en"><head>  <meta charset="utf-8" />  <title>jQuery UI Dialog - Modal message</title>  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />  <script src="http://code.jquery.com/jquery-1.8.3.js"></script>  <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>  <link rel="stylesheet" href="/resources/demos/style.css" />  <script>  $(function() {    $( "#dialog-message" ).dialog({      modal: true,      buttons: {        Ok: function() {          $( this ).dialog( "close" );        }      }    });  });  </script></head><body> <div id="dialog-message" title="Download complete">  <p>    <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>    Your files have downloaded successfully into the My Downloads folder.  </p>  <p>    Currently using <b>36% of your storage space</b>.  </p></div> <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>  </body></html> My Button name is "DOWNLOAD" and on button actions "REDIRECT TO URL"
    on URL TARGET value is ==javascript: myFunction();
    where i have to write this code to bind my apex buttons with dialog box.
    apex.submit(myRequest);the steps i have written above, am doing right or not? Please help to place the code in apex with a right way.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 28, 2013 12:53 AM

  • Open/Save Dialog Box Freeze

    Hello,
    Since updating to 10.4.7, the open/save dialog box freezes (beachball) after selecting a folder. Can anyone please point me in the right direction in solving my issue.
    I used the ComboPPC updater and then ran Cocktail to repair permissions, cron scripts, clear caches etc.
    I recently posted about the Finder freezing instead I should have mentioned that it was the Open/Save dialog box.
    Regards,
    David

    Hi,
    I am using model dialog box.
    on page header i have copy The code as given in this http://jqueryui.com/dialog/#modal-message link
    //  page header code
    <!doctype html> <html lang="en"><head>  <meta charset="utf-8" />  <title>jQuery UI Dialog - Modal message</title>  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />  <script src="http://code.jquery.com/jquery-1.8.3.js"></script>  <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>  <link rel="stylesheet" href="/resources/demos/style.css" />  <script>  $(function() {    $( "#dialog-message" ).dialog({      modal: true,      buttons: {        Ok: function() {          $( this ).dialog( "close" );        }      }    });  });  </script></head><body> <div id="dialog-message" title="Download complete">  <p>    <span class="ui-icon ui-icon-circle-check" style="float: left; margin: 0 7px 50px 0;"></span>    Your files have downloaded successfully into the My Downloads folder.  </p>  <p>    Currently using <b>36% of your storage space</b>.  </p></div> <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>  </body></html> My Button name is "DOWNLOAD" and on button actions "REDIRECT TO URL"
    on URL TARGET value is ==javascript: myFunction();
    where i have to write this code to bind my apex buttons with dialog box.
    apex.submit(myRequest);the steps i have written above, am doing right or not? Please help to place the code in apex with a right way.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 28, 2013 12:53 AM

  • Autofs.service causing problems with gnome's save dialog boxes

    Recently I have been having a problem saving files to disk using the gnome save dialog box when autofs is running. Basically what happens is most of the folders on the right side of the save dialog disappear (see screenshot below) and remaining few become unresponsive when clicked. If I wait a few minutes the folders will eventually appear and work when clicked, but needless to say this is annoying.
    I can "fix" this  problem instantly by simply running systemctl stop autofs.service, but this is not a good solution because I like the convenience of mounting my  NFS shares on demand.

    Recently I have been having a problem saving files to disk using the gnome save dialog box when autofs is running. Basically what happens is most of the folders on the right side of the save dialog disappear (see screenshot below) and remaining few become unresponsive when clicked. If I wait a few minutes the folders will eventually appear and work when clicked, but needless to say this is annoying.
    I can "fix" this  problem instantly by simply running systemctl stop autofs.service, but this is not a good solution because I like the convenience of mounting my  NFS shares on demand.

  • Sort-by-type for column view in open/save dialog boxes?

    Hello all,
    I've done a fairly good search both on Google and in these forums and can't seem to find this question addressed. When I go to open or save something (in Preview, for example) I prefer to use Column View in the dialog box, since it is easy to see and navigate the folder structure. However, Column View always shows up sorted by name, even if I specified in Finder that the folder be sorted by type. Because of this, I have to scroll down and hunt for subfolders rather than having them conveniently listed at the top.
    My question is this: is there a way to get Column View to sort by type in the open/save dialog boxes? (The Command+J that works in regular Finder does nothing in these dialog boxes.)
    Thanks!

    No. Column view will only sort by name. If you wanted to put a space before each folder name, then they will sort to the top. Sorting by Kind will put folders above files, but it will also put anything else except files at the top. If there are only folders, however, that would put them first in the sort list.

  • Can't drag sidebar items in "open/save" dialog boxes - Mountain Lion

    (First time poster)  Using Mountain Lion 10.8.3 and InDesign CS6.  Having errors. First was that smart folders made the Open/ Save dialog boxes crash when referenced in the "Favorites" section of sidebar.   Next, and more serious, error, is that I cannot drag/ rearrange my sidebar items in this view. AKA I cannot take "Favorites" on the sidebar and drag that section below "Devices" or "Shared" or "Media" like I normally can in Finder or any other app for that matter.  Recently installed SIMBL and "Colorful Sidebar" app but uninstalled and removed bundle file from SIMBL plugins folder in order to try and resolve this. Hard to say if this problem started before or after the third-party plugin was installed, but regardless, it's gone now, and still having problems.  Help please!  Thanks,

    None of these are InDesign questions.
    I'd suggest asking this is the Apple forums:
    https://discussions.apple.com/index.jspa

  • Find in Open/Save Dialog boxes

    The find in open/save dialog boxes seems to return unexpected results. Say I have two folders one called "Down under" and the other called "Down under 2". If I ask it to find "down" it only returns the file "Down under 2" and other files whose content may have the word "down" in them. The folder "Down under 2" only has jpegs in it. None have "Down" in the file name.
    So what gives?

    Surely someone knows what is going on in spotlight. If I use Easyfind for the search it comes up with both files folders correctly.

  • CS5 slow to get the 'open' and 'save' dialog box over networked computer.

    I have been having this problem since the suite was installed, but recently has gotten much slower. Any time I click open or save it takes 8-10 seconds just for the dialog box to come up.  CS1 was lightening fast - I know that was ages ago, but I can't help compare the two.  I have the same problem with InDesign and Illustrator. The suite is running on a Windows 7 machine through a home network, accessing files from an XP machine as well as a Buffalo Linkstation.  Once the dialog box comes up, and I double click, the file is pretty quick to appear.  I have researched online and I believe the problem to be somewhere in the network or the settings.  The network is quick, Windows Explorer has no delay in opening or finding files, nor do other programs outside of Creative Suite. I did an experiment to narrow down the problem - I closed Photoshop, unplugged the network cable, and reopened the program.  AMAZING - it was SO FAST to open the dialog box for both opening and saving files!  I then closed Photoshop again, plugged the network cable back in, and opened Photoshop.  It was back to the slow opening of the dialog box.  Everything else in the programs runs fine - no delay when performing operations in any of the Creative Suite - it has to do with the network and how CS is looking for the files.  Can anyone help me, I am so frustrated - this is adding unnecessary time to everything I do and I dread opening and saving any files!!

    Once again - thank you!
    We used to have a network storage device attached to our home network, but it crashed and we replaced it with another model.  A while back I had added it as an item to display in the places bar.  When we removed it from the network, the link on the left side disapeared, so I forgot all about it.  When I read your posting it jogged my memory.  I searched the subject to remember how I had made the change and found this posting from Adobe Community: http://forums.adobe.com/thread/795196 (its in #6).  I found the original storage device in the places bar, removed it and replaced it with the new device.  I opened Photoshop and Acrobat and both open and save dialog boxes appear as they should - the problem has been resolved!  THANK YOU!

  • Open and Save Dialog Box Font Size

    Greetings. Does anyone know how to change the font and icon sizes in Open and Save Dialog boxes in OSX 10.8? Back in Snow Leopard days, the parameters were stored in the users .GlobalPreferences.plist. But they do not appear to be there - or at least I don't recognize them in OSX 10.8. I recently started using a 27 inch Cinema Display, and the fonts are a bit small for me.
    I appreciate any help anyone can offer.

    Good question!  Do submit feedback to Apple.  Maybe if enough of us complain about this fundamental issue, they'll finally listen!

  • Open and save dialog boxes just show earlier and can't be sorted

    Mountail Lion has new open and save dialog boxes that are displayed in groupings by date and other variables.
    My Photoshop CS5 shows "Previous 7 days", "Earlier", etc. I can no longer adjust this sorting. Often, just the "Earlier" shows and current files are missing from the box. I used the sorting option but can't sort within the list.
    My inDesign files still use the earlier open and save dialog box. Where can I switch between these options?
    Photoshop Open:
    inDesign Open:

    I solved my own question through trial and error.
    Just select "None" on the dropdown selector (see screen capture, above) and the Open/Save dialog will revert to the older version.

  • MS Word: This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box.

    This is not a question. I believe I've found a new issue and the fix for it.
    The situation:
    A brand new iMac 27" running Yosemite 10.10.1
    MacMini server running 10.8.5 server.
    The issue:
    Client on iMac trying to work on MS Word documents stored on server was requiring him to save the documents to his desktop and then copy them back to the folder on the server. The exact error message was, "This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box."
    The issue is unique to this computer in an office of 10 client computers and three servers.
    Attempted fixes:
    Verified that the ".Temporaryitems" folder existed and the permissions were set properly.
    Repaired permissions on the client and the network share.
    Definitive fix:
    By default, Yosemite 10.10.1 uses SMB for connecting file shares. When I overrode the default and switched to AFP protocol, the issue went away.
    I hope this helps someone else.
    Rob

    That was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.

  • Clicking a .pdf link does not open .pdf file, it opens a SAVE DIALOG box

    Recently when I click on a .pdf file link I am no longer able to open the file in a adobe reader either within a FIREFOX webpage or open it using the full adobe program. Instead it opens a SAVE dialog box requesting me to save to my harddrive. I am not sure what has happened and am trying to find someone who might know what is going on?

    You can change the action for Portable Document Format (PDF) from Preview in Firefox to use the Adobe Reader or set to Always Ask in "Firefox > Options/Preferences > Applications".
    You can set the pdfjs.disabled pref to true on the <b>about:config</b> page to disable the build-in PDF viewer.
    You can check the value of the plugin.disable_full_page_plugin_for_types pref on the about:config page and remove the application/pdf part if present or reset the pref to the default via the right-click context menu.
    *http://kb.mozillazine.org/about:config
    See also:
    *https://support.mozilla.org/kb/view-pdf-files-firefox-without-downloading-them

  • Adobe pdf printer save dialog box opens in the background - progress bar shows Not Responding

    I have two users who have Acrobat X Pro version 10.1.4 that are experiencing the same things.  First, one person just changed laptops and the new one has a fresh Windows 7 Enterprise X64 image and new installation of Adobe Acrobat X Pro.  When he used the pdf printer for the first time(after opening the program and accepting the license agreement) he was in MS Excel '07 and chose file>print>Adobe PDF and then the progress bar came up and then showed not responding.  After he did this a couple of times with me standing there I noticed that the save dialog box was opening in the background because I could see the icon blinking on the taskbar.  He said that his old computer never did this and that it would always open up and ask where to save the file and never show 'not responding' on the progress bar.  The other person having the same issue is running the same version but she has had the program installed on her machine for a few months and an older version on before that. 
    Is there a way to make the dialog box show as soon as you print to the Adobe PDF printer?  What is causing this?  Is there another way to create a pdf from MS Office like the add-on? 

    I have two users who have Acrobat X Pro version 10.1.4 that are experiencing the same things.  First, one person just changed laptops and the new one has a fresh Windows 7 Enterprise X64 image and new installation of Adobe Acrobat X Pro.  When he used the pdf printer for the first time(after opening the program and accepting the license agreement) he was in MS Excel '07 and chose file>print>Adobe PDF and then the progress bar came up and then showed not responding.  After he did this a couple of times with me standing there I noticed that the save dialog box was opening in the background because I could see the icon blinking on the taskbar.  He said that his old computer never did this and that it would always open up and ask where to save the file and never show 'not responding' on the progress bar.  The other person having the same issue is running the same version but she has had the program installed on her machine for a few months and an older version on before that. 
    Is there a way to make the dialog box show as soon as you print to the Adobe PDF printer?  What is causing this?  Is there another way to create a pdf from MS Office like the add-on? 

Maybe you are looking for

  • No accounting document generated at time of result analysis settlement

    No accounting document generated at time of result analysis settlement, but controlling document and profit center document are generated. problem is cost has been settled but accounting does not generated.

  • Why do these icons keep appearing in my clipboard?

    I have Windows 7 Home Premium on an Inspiron 1520 and Adobe Design Standards CS4. I have a gadget on the side of my desktop called Clipboard Manager where I can see things I have currently or recently copied to clipboard. Every so often, these three

  • Collective completion of quality notifications

    Hi Gurus, I'm on an archiving process, and I need to complete a big number of quality notifications, is there a mass change for this ? Regards, Mahmoud

  • My application adobe ideas closes automatically

    my application adobe ideas closes automatically, I have an iPad 4 with all updates, so what's the problem?

  • Javascript ASP

    CS3 ASP - VB Script mySQL version 5 I have a simple insert statement using the dreamweaver cs3 wizard. Text Area inserts to varchar field type no problem. I have a dynamic list next to the Text Area which is populated using this code. <% While ((Repe