开发者

Creating URL in Dojo

Is there a function in Dojo that lets you specify URL parameters that I can take to window.open()?

e.g. I'm looking for a function like someDojoFunction() below.

window.open(someDojoFunction("开发者_高级运维stackoverflow.com", "param1", 100,  "param2", 200));

Sure, it would be trivial to write a function like that, but I don't want to reinvent the wheel and I want to do it dojo way!


There is something like that available.

BTW, if you want access to an arbitrary list of arguments like that, look into the arguments object of every function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜