PDA

View Full Version : How can i send parameters to the next page?



gigas01
19 Sep 2012, 1:29 PM
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...

mitchellsimoens
24 Sep 2012, 6:49 AM
So you just want to build the url string and add in params? Take a look at Ext.String.urlAppend