IE 11 WMI Java Script 'GetObject' is undefined

I'm using Windows 7 with Internet Explorer 11. I have created a very simple JavaScript function to retrieve client machine information in an ASP.NET Page. I'm using the following code to get the client machine name , it gives me an error.
var objWMIService = GetObject("winmgmts:\\root\\CIMV2");
the above code works in IE 6,7,8 but not in IE 9,10,11.
Error: "GetObject" is undefined. Request help from this forum. If "GetObject" is not supported anymore in IE 11 what is the alternative API.
Any help is appreciated.

Thank you for the reply.
I'm using "Get Object" in a JavaScript function and calling it in asp.net application on a button click.
Kindly let me know if you know if you have any idea on how to get this worked.
It cannot be made to work in an ASP.Net page.  There is no way around this.
You cannot run GetObject("winmgmts:") in an IE or other browser.  It is not allowed due to security settings and restrictions. 
You can use GetObject if running IE6 in "Quirks" mode and in some modes on IE9.  You cannot access any object form a web page that is on the local computer.
Post you issues in the ASP.Net forums to get more information on how to program ASP.Net web pages.  This is a scarping forum for non-web scripting.
¯\_(ツ)_/¯

Similar Messages

  • When I click on firefox I get a java script error that says "TypeError: Components.classes[TvtPwmComponent_CID] is undefined", what does that mean?

    Whenever I click on firefox, or when a pop-up occurs, I get a java script error that says, "TypeError: Components.classes[TvtPwmComponent_CID] is undefined". I don't know why. It first occurred while I was on ESPN while trying to watch college games live.

    This issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Whenever I use facebook I'm getting this error message [Java Script Application] Error: options is undefined whenever I click on a link. What can I do to fix this problem? Easy step by step instructions please.

    When I use facebook, I keep getting this message [Java Script Application] Error: options is undefined whenever I try to return something, click on a link, or message, open a game, etc. ... I have Windows 7, addons of greasemonkey and better facebook (which seems to have disappeared)
    == URL of affected sites ==
    http://www.facebook.com/reqs.php#!/?ref=home

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Every time I start up Firefox, I receive the following warning/message. Java Script Application. Type Error: Components.classes(cid) is undefined. How do I correct this?

    Question
    Every time I start up Firefox, I receive the following warning/message. Java Script Application. Type Error: Components.classes(cid) is undefined. How do I correct this?

    Do you see a Last 7 days folder?
    If not then older history has been deleted.<br />
    Firefox 5 doesn't use a time limit to store history like previous Firefox 3 versions did.

  • Since a few days I get this Error: Java Script "TypeError: eSettings is undefined" How can I solve the problem?

    Before I can open Firefox 4.01 I get a Java Script Error: TypeError: eSettings is undefined

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • Java script created in Adobe Acrobat not working in Reader

    Hello,
    This is my first post, so I hope I chose the correct path for it
    Let's get to the point:
    I created a java script in Adobe Acrobat according to your tutorial page:
    search.matchCase = false;
    search.wordMatching = "BooleanQuery";
    search.bookmarks = false;
    search.query("Mytxt","Folder","../My directory");
    which I found to be working as a let's call it a relative link, beacuse, after copying my file into another folder it would still work. But when I opened the same file in Adobe Reader I got a Console message:
    Acrobat EScript Built-in Functions Version 10.0
    Acrobat SOAP 10.0
    GeneralError: Operation failed.
    Search.query:4:Link undefined:Mouse Up
    Folder does not exist
    As I mentioned before the same file does return the results of the search.query in this folder in Acrobat. Any ideas? Suggestions? What might be the problem?

    Thanks to your suggestion I started digging into the directories, so here's what's funny:
    Title Page - main folder
    Page 1 - sub folder
    Searched PDFs - sub sub folder
    I open the Title Page, then using a bookmark I open a new file in the same window: Page 1. There i have site links that allow me to perform search.query()
    And now to the funny part:
    In Acrobat:
    If I open the "Title Page" and from there go to Page 1 my directory has to be:
    ../Main Folder/Sub Folder/Sub Sub Folder
    to perform the required search
    However If I open the "Page 1" manually my directory for the same java script has to be:
    ../Sub Folder/Sub Sub Folder
    otherwise I get an error.
    Anyway
    Both don't seem to work in Reader....

  • How create indesign using Java Script

    I am new in indesign and want to create indesign application using JavaScript.
    When i use AppleScript to create Indesign Application i use this statement
    tell application "Adobe InDesign CS5.5"
    set myDocument to make document with properties
    end tell
    Indesign Application create sucessfully.
    How create Indesign Application using JavaScript ?
    or what is equivelent statement of ( tell application "Adobe InDesign CS5.5" ) in Java Script.
    There are some java scripting example given on forum or in sdk.These all example start with app.
    when I debug these java script using ExtendScript ToolKit 3.6 It give error on app (undefined app).I think this app ia application object.
    How create  indesign application object  app in javascript ?
    While this script run sucessfully when i put these script in C:\Program Files\Adobe\Adobe InDesign CS5.5\Scripts
    and to run these script use Scripts panel (choose Window > Utilities > Scripts), then double-click the script name in the Scripts panel in indesign application.But In this case first i start indesign application and then choose Window > Utilities > Scripts then double-click the script name in the Scripts panel.
    I want to create Indesign Application (instance) using JavaScript.When I run or (debug) my JavaScript in any javaScript tool like ExtendScript ToolKit 3.6 then Indesign application should start, like in Apple Script.
    Thanks

    Thanks Vamitul for reply
    For example when i run SelectObjects.jsx An InDesign CS5.5 JavaScript in ESTK  then message prompt "Target Adove Indesign CS5.5 is not running. Do you want to lanch." Then on click yes Indesign application start.
    I want to Know how indesign object "app" is created to start Indesign application on click yes.
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/In DesignScripting/InDesign-ScriptingTutorial.pdf
    Like in VB to create indesign object we use CreateObject("InDesign.Application"). In javascript how create object say "app" of InDesign Application.
    For example if  i write
    var myDocument = app.documents.add();
    var myTextFrame = myDocument.pages.item(0).textFrames.add();
    myTextFrame.geometricBounds = ["6p", "6p", "24p", "24p"];
    myTextFrame.contents = "Hello World!";
    in a simple text file and save it with .js extention and to open this double click on this  it give error undefined "app".
    Source :Microsoft JScript runtime error
    So how define "app" or create indesign object ?
    Thanks

  • Keep getting java script errors in DW CS3

    I have been using Dreamweaver CS3 and had not had problems up to last month or so. Now I keep getting Java errors and java script errors whenever i try to put a file to my site or even on some task boxes that have undefined in the command box instead of the normal command. I am wondering if downloading product again could help but i worry about licensing problem. It seems like there is no support for CS3 Dreamweaver.
    I resent the fact i may have to upgrade to Dreamweaver CS5. IF I do can I just upgrade Dreamweaver and not the other programs as part of the web design suite? My last upgrade was the CS3 web design suite.
    Gary

    Thanks for the suggestion, I followed the links and instructions and still have same problem. Very frustrating as I cannot get any phone support, actually i was told Dreamweaver CS3 is not being supported anymore, and I was directed to this forum.
    Kind of makes me not like Adobe and I am going to search for another web building program. Once I calm down I may consider just upgrading to CS 5 Dreamweaver. Do I have to upgrade the entire Web Design suite or can I just upgrade Dreamweaver?
    Another option is to try and reinstall but I worry I can run into licensing problems (I think I ran into this before as destop and laptop crashed and had to reinstall).
    Gary

  • Java script issue on screen rendering for all-11-otn4.js

    Hello,
    I am getting java error on screen rendering for all-11-otn4.js line no 12277 and 16073. The java script error I get is, *"A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in debugger, or let the script continue"*. After this page stops responding, i have to close the browser and reopen it.
    I have a table inside my screen. The table is added inside a af:panelCollection and have few toolbar buttons added inside the secondayToolbar facet. This error is commng due to the table toolbar buttons.
    When i check the java scirpt using debugger, it stops at following java script at the bold line,
    AdfUIComponent.prototype.getParent= function()
    var x147=this._parent;
    if (x147===undefined)
    var x148=this._peer;
    if (x148!=null)
    x147=x148.getComponentParent(this);
    this._parent=x147;
    return x147;
    Any idean why this could be happening and any ways to tackel it?
    - Sujay

    Hi,
    did you try with a production build. Sems to me that you use Technology Preview, which is almost 2 years old
    Frank

  • Problems with Java Scripting API

    Hello Everyone!
    Guys, I need help with Java scripting API. A problem is that I cannot understand how can I operate Java Object's fields and methods from the script language. I have chosen embedded javascript to work with. And I can get the fields and methods of in-box java classes (such as ArrayList for example), but I cannot work with methods and fields from my own classes!
    Here is an example:
    public class ScriptingExample {  
        class MyClass {  
            int myfield = 5;  
            int getInt() {return 7;}  
        public void runExample() {  
            ScriptEngineManager mgr = new ScriptEngineManager();  
            List<ScriptEngineFactory> factories = mgr.getEngineFactories();  
            ScriptEngineManager factory = new ScriptEngineManager();  
            ScriptEngine engine = factory.getEngineByName("JavaScript");  
            MyClass mc = new MyClass();  
            try{  
                engine.put("mc", mc);  
                engine.eval("print(mc.myfield); print(mc.getInt())"); // or engine.eval("print(mc.myfield)");
            } catch (Exception e) {e.printStackTrace();}  
    }  If I run the code with the commented part it prints "undefined" instead of "5".
    If I run the code as it is it prints error instead of "7":
    undefinedjavax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function getInt. (<Unknown source>#1) in <Unknown source> at line number 1
    at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
    at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
    at javax.script.AbstractScriptEngine.eval(Unknown Source)
    at solutiondatabase.ScriptingExample.runExample(ScriptingExample.java:26)
    at solutiondatabase.Main.main(Main.java:49)
    How can I fix it?

    Guys,
    please let me raise this topic because several new questions emerged.
    (1) How can I get all the variables created inside my engine?
    There are two kinds of variables: first kind is Java obejcts put inside the engine and second kind is the variables created in my script, such as 'var a = 4;'. How can I list all the variables of that two kinds?
    (2) Is there is a way to make 'import static' to the engine? I dont want to write MyClass.MyEnum.MyEnumItem every time. Also, I cannot put the whole enum into the engine with engine.put("MyEnum", MyEnum); I can put only enum items separately: engine.put("MyEnum", MyEnum.EnumItemA);. Thats why I ask about static import.
    (3) How can I cast engine variables back to java variables inside my java code?
    Here is my example:
    package mypackage;
    import java.util.ArrayList;
    import java.util.List;
    import javax.script.ScriptEngine;
    import javax.script.ScriptEngineFactory;
    import javax.script.ScriptEngineManager;
    public class Main
         public static void main(String[] args) throws Exception 
              ScriptEngineManager mgr = new ScriptEngineManager();
              List<ScriptEngineFactory> factories = mgr.getEngineFactories();
              ScriptEngineManager factory = new ScriptEngineManager();
              ScriptEngine engine = factory.getEngineByName("JavaScript");
              ArrayList<Double> myList = new ArrayList<Double>();
              myList.add(5.0);                    
              engine.put("MyList", myList);     
              engine.eval("MyVar = MyList.get(0);");
              System.out.println((Double)engine.get("MyVar"));
    }The result is:
    Exception in thread "main" java.lang.ClassCastException: sun.org.mozilla.javascript.internal.NativeJavaObject cannot be cast to java.lang.Double
    +     at mypackage.Main.main(Main.java:28)+
    Is it possible to retrieve my Double java object from the engine?
    Edited by: Dmitry_MSK on Aug 6, 2010 1:56 AM

  • Adobe Java Script Expressions

    Question #1    I have a check box field and two data fields containing only letters no numbers in an Adobe Acrobat Form. I would like to have a java script expression that if the Check box 1 field is checked, the contents of Data Field 1 will be automatically entered into Data Field 2 .
    Please provide script and below are the 3 fields.
    Check box 1 field: Checked
    Data Field 1
    Data Field 2
    Question #2    I have a field labeled Full Address that I am trying to get the following fields to populate from. The problem in my expression is when there is no Suite then there is an extra comma still showing.
    Please provide script.
    Sample of my script below.
    event.value = this.getField("Merchant_Addr1").value.concat( ", ", this.getField("Merchant_Addr2").value) + ", " + this.getField("Merchant_City").value + ", " + this.getField("Merchant_State").value + "  " + this.getField(" Merchant_Zip").value;
    This is what displays if no Suite is in Address (Two commas after the word Drive: 23175 La King Drive, , Irvine, CA  92656
    Data Field Street Address
    Data Field Suite (If empty then don't show comma)
    Data Field City
    Data Field State
    Data Field Zip

    For question number 2, I would use a reusable document level function to combine 3 fields a time and adjust for null field values.
    // Concatenate 3 strings with separators where needed
    function fillin(s1, s2, s3, sep) {
    Purpose: concatenate up to 3 strings with an optional separator
    inputs:
    s1: required input string text or empty string
    s2: required input string text or empty string
    s3: required input string text or empty string
    sep: optional separator sting
    returns:
    sResult concatenated string
    // variable to determine how to concatenate the strings
      var test = 0; // all strings null
      var sResult; // re slut string to return
    // force any number string to a character string for input variables
      s1 = s1.toString();
      s2 = s2.toString();
      s3 = s3.toString();
      if(sep.toString() == undefined) sep = ''; // if sep is undefined force to null
    assign a binary value for each string present 
    so the computed value of the strings will indicate which strings are present
    when converted to a binary value
      if (s1 != "") test += 1; // string 1 present add binary value: 001
      if (s2 != "") test += 2; // string 2 present add binary value: 010
      if (s3 != "") test += 4; // string 3 present add binary value: 100
      /* return appropriate string combination based on
      calculated test value as a binary value
      switch (test.toString(2)) {
      case "0": // no non-empty strings passed - binary 0
         sResult = "";
      break;
      case "1": // only string 1 present - binary 1
         sResult = s1;  
      break;
      case "10": // only string 2 present - binary 10
         sResult = s2;  
      break;
      case "11": // string 1 and 2 present - binary 10 + 1
         sResult = s1 + sep + s2; 
      break;
      case "100": // only string 3 present - binary 100
         sResult = s3;
      break;
      case "101": // string 1 and 3 - binary 100 + 001
         sResult = s1 + sep + s3; 
      break;
      case "110": // string 2 and 3 - binary 100 + 010
         sResult = s2 + sep + s3; 
      break;
      case "111": // all 3 strings  - binary 100 + 010 + 001
         sResult = s1 + sep + s2 + sep + s3; 
      break;
      default: // any missed combinations
         sResult = "";
      break;
    return sResult;
    var Addr1 = this.getField("Merchant_Addr1").valueAsString;
    var Addr2 = this.getField("Merchant_Addr2").valueAsString;
    var City = this.getField("Merchant_City").valueAsString; 
    var State = this.getField("Merchant_State").valueAsString;
    var Zip = this.getField(" Merchant_Zip").valueAsString;
    var s = fillin(Addr1, Addr2, City, ", ");
    var s = fillin(s, State, "", ", ");
    event.value = fillin(s, Zip, "", "  ");
    Or the custom calculation script could be reduced to:
    // custom calculation script;
    var Addr1 = this.getField("Merchant_Addr1").valueAsString;
    var Addr2 = this.getField("Merchant_Addr2").valueAsString;
    var City = this.getField("Merchant_City").valueAsString;
    var State = this.getField("Merchant_State").valueAsString;
    var Zip = this.getField(" Merchant_Zip").valueAsString;
    event.value = fillin(fillin(Addr1, Addr2, fillin(City, State,"", ", "), "", ", "), Zip, "", "  ");
    Do not forget the fillin function.

  • Java Script erros in webdynpros...

    Hi,
      I'm facing problems with webdynpro apps. No server events are working. I'm using IE as the browser. On running the application, I get the initial screen, but there on nothing works. IE reports java script errors like.. "Error: SSR is undefined. Code 0." I think it might have something to with WAS configurations, because we have been fiddling with some recently:(. Another thing that I noticed is that recently the theme/look of the webdynpro apps keeps alternating between 2 styles(seemingly at random!). Any help would be greatly appreciated.
    Regards,
    Harsh
    PS:This problem applies to previously working dynpro apps.

    Hi Harsh,
    There is a folder called SSR in the server where u store the themes .I wonder if there is any relation between those two.
    Are u using a custom made theme. If so remove the entry from the visual admin.Restart the server and your PC once. There might be a prblem that it is taking details from the cache.(Even if u have not touched any settings try restarting the system... )
    And one more point ,as the problem is in the server using a diiferent client system is immaterial.
    Regards
    Bharathwaj
    Message was edited by: Bharathwaj R

  • Opening firefox comes a Java script error pop up window

    Today I've been having this problem when I open Firefox
    I get this pop up window, one after another.
    Max shows 20
    LeadManage_OnDocumentLoad pd 1320084884 1320084944
    check4Match l1
    metaKeywords 1aaaa
    metaKeywords 2 [object HTML Collection]
    keyarray metaKeywords:undefined
    url:http://support.mozilla.com/fi/questions/881878?=s=java+script&r=1&as=s
    mySearchString:undefined
    How can I fix this, I have installed Firefox again but no help.

    How do you remove my compagion in modules? Please reply ASAP . Thanks .

  • Java script‐「GetTrackchange」について

    お世話になります。
    現在Win7にてInDesign CS5.5 を使用しております。
    「GetTrackchange」というスクリプトを
    adobeの公式スクリプティングガイドから見つけ出しました。
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/In DesignScripting/InDesign-ScriptingGuide-JS-JP.pdf
    このガイドの212ページ目のスクリプトです。
    そのページの指示通り、
    アーカイブからダウンロードした完全版スクリプトは、
    最下部の通りです。 
    このガイドによると下記のスクリプトにより、
    「トラックされた変更点に順次移動できる」ということです。
    さっそくこのスクリプトを実行すると、
    新らしくInDesignドキュメントが作成され、
    「This is a story.」の文字が入ったボックスが作成されます。
    何度実行してもこの操作が繰り返され、
    「既存のドキュメント内で、順次変更点に飛ぶこと」ができません。
    確かに記述でそのように書かれていそうですが、
    その部分を消去したり、真ん中のnextItem関連のブロックだけ残して実行しても、うまくいきません。
    adobeの窓口にも問い合わせましたが、
    スクリプト開発がアメリカのためらしく、
    有力な情報はいただけませんでした。
    Java scriptについては初心者でして、
    ここで質問させていただくことにずっと躊躇しておりました。
    しかしadobeの公式スクリプティングガイドのスクリプトであること、
    Web情報を一定期間念入りに調べてもまったく情報が得られないこと、
    adobeへの問い合わせでも有力情報が得られなかったこと、
    以上を踏まえましても、解決にいたらなかったため、
    恐縮ながら、こちらで質問させていただくことにいたしました。
    私が希望する動作が可能なようでしたら、
    皆さんのお力をお貸しいただけると嬉しいです。
    ※2行目にInCopyの記述がありますが、
    InDesign上のアーカイブからダウンロードしております。
    実際のスクリプト
    //GetTrackchange.jsx
    //An InCopy CS5 JavaScript
    //Shows how to get Track change from doc.
    main();
    function main(){
    mySetup();
    mySnippet();
    myTeardown();
    function mySetup(){
    function mySnippet(){
    var myDocument = app.documents.add();
        var myTextFrame = myDocument.textFrames.add({geometricBounds: [0, 0, 12, 12], contents: "This is a story."});
    myGetChangeFromDoc();
    function myTeardown(){
    function myGetChangeFromDoc()
        //<fragment>
    var myDocument = app.documents.item(0);
    var myStory = myDocument.stories.item(0);
    //Story.trackChanges   If true, track changes is turned on.
    if(myStory.trackChanges==true)
      var myChangeCount = myStory.changes.length;
      var myChange = myStory.changes.item(0);
      if(myChangeCount>1)
       var myChange0 = myStory.changes.nextItem(myChange);
        //</fragment>
    function myGetChangeFromDoc1()
    var myDocument = app.documents.item(0);
    var myStory = myDocument.stories.item(0);
    //Story.trackChanges   If true, track changes is turned on.
    if(myStory.trackChanges==true)
      var myChangeCount = myStory.changes.length;
      var myChange = myStory.changes.lastItem();
      if(myChangeCount>1)
       var myChange0 = myStory.changes.previousItem(myChange);
    なにとぞ、よろしくお願いいたします。

    これでどうでしょうか。
    #target indesign
    #targetengine "session"
    (function () {
        function getChanges (stories) {
            var changes = [];
            for (var i = 0, storiesLength = stories.length; i < storiesLength; i++) {
                var story = stories[i];
                Array.prototype.push.apply(changes, story.changes);
                var tables = story.tables;
                for (var j = 0, tablesLength = tables.length; j < tablesLength; j ++) {
                    Array.prototype.push.apply(changes, tables[j].changes);
            return changes;
        function selectItem (item, activePage, zoom) {
            app.activeDocument.select(item);
            if (activePage) app.activeWindow.activePage = activePage;
            if (zoom) app.activeWindow.zoomPercentage = zoom;
        (function () {
            var changes = getChanges(app.activeDocument.stories);
            if (changes.length === 0) {
                alert("変更が見つかりません");
                return;
            var index = -1;
            window = new Window("window", "");
            stext = window.add("StaticText", [0, 0, 100, 20], "");
            stext.justify = "center";
            var group1 = window.add("Group");
            group1.orientation = "row";
            var prevButton = group1.add("Button", undefined, "前の変更箇所");
            var nextButton = group1.add("Button", undefined, "次の変更箇所");
            var group2 = window.add("Group");
            group2.orientation = "row";
            var zoomCheck = group2.add("CheckBox", undefined, "ズーム表示");
            var zoomList = group2.add("DropDownList", [0, 0, 100, 20]);
            zoomList.enabled = false;
            zoomList.add("item", "50%");
            zoomList.add("item", "100%");
            zoomList.add("item", "200%");
            zoomList.add("item", "500%");
            zoomList.selection = 3;
            zoomCheck.onClick = function () {
                if (zoomCheck.value) zoomList.enabled = true;
                else zoomList.enabled = false;
            var select = function (index) {
                stext.text = (index + 1) + " / " + changes.length;
                var zoom = (zoomCheck.value) ? parseInt(zoomList.selection.text.replace("%", "")) : false;
                var change = changes[index];
                selectItem(change.storyOffset, change.storyOffset.parentTextFrames[0].parentPage, zoom);
            prevButton.onClick = function () {
                index -= 1;
                if (index === -1 || index < 0) index = changes.length - 1;
                select(index);
            nextButton.onClick = function () {
                index += 1;
                if (index === -1 || index >= changes.length) index = 0;
                select(index);
            window.show();

  • How to load a java script in oracle database

    Is it possible to load d java script in Oracle database. while the object type is
    java resource ..

    RENUJP wrote:
    I meant to load a javascript to oracle database not to oracle appliocation.
    like loadjava....
    I can load a javascript to oracle database.. but i can't call it...Please re-read the comments above, especially the part about this not being a javascript nor oracle forum. Exactly what part about this information don't you understand?

Maybe you are looking for

  • Parent node showing in schema when child nodes not present

    I had several folks answer my questions on mapping from a flat file to an EDI 835 schema and I am down to just a couple of issues before I finish up. I have a conditional mapping issue that I have to solve before I can map the rest of the document. I

  • How to register non-wsdl based URL in OEG

    How do we register a non-wsdl based URL endpoint in OEG? We had no problem registering a simple WSDL based endpoint on an OEG server. However we cannot find documentation on how to secure/register a RESTful or JSON – URL based service (SOAP, XML over

  • Check in failed -  com.sap.webdynpro.generation.ant.GenerationAntTaskError

    Hi ,    I tried to chekced in Webdynpro Dc but it failed. I m sending log for error. What can be problem??? Development Component Build (2008-02-11 02:18:25)   Component name: prp   Component vendor: asianpaints.com   SC compartment: asianpaints.com_

  • 2 identical Strings won't match?

    hi, i have a program that takes some bytes out of a data file. It then checks to see if the data matches the requested IDs. I have a strange problem. I have 2 different IDs that i have requested. When I request the first, it works fine and the progra

  • Tracking and reporting

    I am creating a training course in Captivate. I need to include a tracking and reporting of student results and be able to have them print a certificate of completion. Can anyone help me with these items?