Results 1 to 2 of 2

Thread: How can i send parameters to the next page?

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    68
    Vote Rating
    0
      0  

    Default How can i send parameters to the next page?

    I have to send this parameter 'name' to the new page, but i don't have any idea to send it.

    onAddStaff: function(name) {

    document.location.hash = "#chain-err-job-action";
    // how should i send the parameter(name) to the next page?
    },

    if it is a normal url link, i should have made a url like

    ~~~~/chain-err-job-action?name=name

    like this.

    But the problem is, this is a hash code redirection.

    It doesn't work like this.

    Do you guys have any idea about this? man...

  2. #2
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,023
    Answers
    3976
    Vote Rating
    1334
      0  

    Default

    So you just want to build the url string and add in params? Take a look at Ext.String.urlAppend
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Posting Permissions

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