Results 1 to 3 of 3

Thread: org.mozilla.mod.javascript.EcmaError: ReferenceError: "Ext" is not defined.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default org.mozilla.mod.javascript.EcmaError: ReferenceError: "Ext" is not defined.

    Hello Every One,
    i am trying to write an application with Ext Js 4.2, but when i was running the application i got the error as follow.

    org.mozilla.mod.javascript.EcmaError: ReferenceError: "Ext" is not defined.

    the code i wrote as

    Ext.create('Ext.Button', {
    text: 'Click Me',
    enableToggle: true
    });



    Can any one please hep to get out from this issue....

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    247
      0  

    Default

    Have you linked to the ExtJS library in the head of your document?
    And you might wrap your code in Ext.onReady() like so:

    Code:
    Ext.onReady(function () {
        Ext.create('Ext.Button', {
            text: 'Click Me',
            enableToggle: true
        });
    });
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our human resources manager: fabienne.bell@sencha.com

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Thanks slemmon for your reply,


    I am new to use sencha EXT JS, Please help me with sencha extjs with Eclipse

    But i am using the Eclipse for developing the aplpication, For that i followed the procedure as following

    http://blogs.walkingtree.in/2013/04/...gin-for-extjs/

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •