Hi everyone!
I have the following function:
[CODE]function goToPageWithAttributes(page,attr,value){
//alert(“goToPageWithAttributes :” + page + ” attr : ” + attr + ” value : ” + value );
var container = MyOpenSpace.MySpaceContainer.get();
var qryString = container.getQueryString();
var qryString = replaceQueryString(qryString,attr,value);
//alert(qryString)
window.location = page + “?” + qryString
}
I am very rusty with my Javascript and am wondering how I would re-write this (if I even need to) to support multiple attributes and values. In other words, a=1, b=2, c=3, d=compose, e=whatever.
If anyone has any insight as to how I could accomplish this, I will be in your debt.
Cheers!