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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,860
    Answers
    3969
    Vote Rating
    1323
      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
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    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
  •