How to declare variable as Public in EXTJS ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • santusapi
    New Member
    • Mar 2010
    • 26

    How to declare variable as Public in EXTJS ?

    Hello all,
    I am not getting how to declare a variable as public in ExtJS, so that i can access it from html document. It would be nice if i get how to call a function of extjs from html.

    Thanks in advance.
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    could you explain a bit more what you want? basically you would just need to declare the variable in the document as a global and then use it in the ExtJs functions ... or wherever you want ... btw: globals are not the best way to work with ... but i assume you know that :)

    kind regards

    Comment

    • santusapi
      New Member
      • Mar 2010
      • 26

      #3
      Originally posted by gits
      could you explain a bit more what you want? basically you would just need to declare the variable in the document as a global and then use it in the ExtJs functions ... or wherever you want ... btw: globals are not the best way to work with ... but i assume you know that :)

      kind regards
      Yes its not good to declare. Thanks for the reply.. :-)
      And i got solution for my problem...
      Thanks a lot ... ;-)
      That is why we like BYTES.COM a lot.... :-)

      Comment

      Working...