Results 1 to 2 of 2

Thread: How to ger Url parameters

  1. #1

    Default How to ger Url parameters

    How can get a parameter from the url, i mean if have
    page1.html#token=12345
    i need to get the token from the url, in sencha how it is?

  2. #2
    Sencha User laurentParis's Avatar
    Join Date
    Aug 2010
    Location
    paris
    Posts
    246

    Default

    Use javascript instead extjs
    by my knowledge, only on History they hashed tokens by simple javascript :
    PHP Code:
    Ext.History = (function () {
    ...
        function 
    getHash() {
            var 
    href location.hrefhref.indexOf("#");
            return 
    >= href.substr(1) : null;
        }
       .... 

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
  •